brek
Version:
9 lines (8 loc) • 317 B
TypeScript
/**
* Generate a TypeScript type definition file for the given configuration object.
* If loaders are present, they will be inferred as string.
*/
export declare function generateTypeDef(config: Record<string, any>): string;
export declare function props(obj: {
[key: string]: any;
}, depth?: number): string;