UNPKG

mongoose-tsgen

Version:

A Typescript interface generator for Mongoose that works out of the box.

4 lines (3 loc) 254 B
export declare const getConfigFromFile: (configPath?: string | undefined) => Record<string, unknown>; export declare const getModelsPaths: (basePath?: string | undefined) => string[]; export declare const cleanOutputPath: (outputPath: string) => string;