weapp-tailwindcss
Version:
把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!
12 lines (11 loc) • 993 B
TypeScript
import type { ICustomAttributesEntities } from '../types/index.js';
import type { IArbitraryValues } from '../types/shared.js';
export interface SourceCandidateExtractionOptions {
bareArbitraryValues?: IArbitraryValues['bareArbitraryValues'] | undefined;
customAttributesEntities?: ICustomAttributesEntities | undefined;
disabledDefaultTemplateHandler?: boolean | undefined;
extractor?: ((source: string, extension: string) => Promise<Iterable<string>> | Iterable<string>) | undefined;
}
export declare function extractCandidatesFromSource(source: string, extension: string, options?: SourceCandidateExtractionOptions): Promise<Set<string>>;
export declare function extractTemplateAttributeCandidates(source: string, extension: string, options: SourceCandidateExtractionOptions): Promise<never[] | Set<string>>;
export declare function extractScriptStringCandidates(source: string, extension: string, options: SourceCandidateExtractionOptions): Promise<never[] | Set<string>>;