typescript-scaffolder
Version:
 ### Unit Test Coverage: 97.53%
16 lines • 648 B
TypeScript
/**
* processes the JSON files and generates typescript interfaces using the same folder structure
* @param filePath
* @param relativePath
* @param outputBaseDir
*/
export declare function generateInterfaces(filePath: string, relativePath: string, outputBaseDir: string): Promise<void>;
/**
* Parses a file structure housing JSON schemas and regenerates the directory tree with interfaces.
* Only does JSON for now
* @param schemaDir
* @param outputDir
* @param ext
*/
export declare function generateInterfacesFromPath(schemaDir: string, outputDir: string, ext?: string): Promise<void>;
//# sourceMappingURL=generate-interfaces.d.ts.map