suyiScreen/node_modules/generic-names/index.d.ts

11 lines
248 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;