hensei-web/node_modules/generic-names/index.d.ts
2020-09-11 06:44:42 -07:00

13 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;