first commit
This commit is contained in:
19
node_modules/tailwind-merge/dist/lib/class-utils.d.ts
generated
vendored
Normal file
19
node_modules/tailwind-merge/dist/lib/class-utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { ClassGroupId, ClassValidator, Config } from './types';
|
||||
export interface ClassPartObject {
|
||||
nextPart: Map<string, ClassPartObject>;
|
||||
validators: ClassValidatorObject[];
|
||||
classGroupId?: ClassGroupId;
|
||||
}
|
||||
interface ClassValidatorObject {
|
||||
classGroupId: ClassGroupId;
|
||||
validator: ClassValidator;
|
||||
}
|
||||
export declare function createClassUtils(config: Config): {
|
||||
getClassGroupId: (className: string) => string | undefined;
|
||||
getConflictingClassGroupIds: (classGroupId: ClassGroupId, hasPostfixModifier: boolean) => readonly string[];
|
||||
};
|
||||
/**
|
||||
* Exported for testing only
|
||||
*/
|
||||
export declare function createClassMap(config: Config): ClassPartObject;
|
||||
export {};
|
||||
Reference in New Issue
Block a user