UNPKG

mongoose-tsgen

Version:

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

5 lines (4 loc) 306 B
import { TsReaderModelTypes } from "../types"; export declare const getModelTypes: (modelsPaths: string[], maxCommentDepth?: number) => TsReaderModelTypes; export declare const registerUserTs: (basePath: string) => (() => void) | null; export declare function parseTSConfig(tsconfigFilePath: string): any;