14 lines
254 B
TypeScript
Raw Normal View History

2024-01-29 09:26:07 +08:00
interface Options {
context: string;
hashPrefix: string;
}
type Generator = (localName: string, filepath: string) => string;
declare function createGenerator(
pattern: string,
options?: Partial<Options>
): Generator;
export = createGenerator;