EASYAIuniappNewUI/node_modules/generic-names/index.d.ts
2025-02-08 18:50:38 +08:00

14 lines
254 B
TypeScript

interface Options {
context: string;
hashPrefix: string;
}
type Generator = (localName: string, filepath: string) => string;
declare function createGenerator(
pattern: string,
options?: Partial<Options>
): Generator;
export = createGenerator;