typescript-scaffolder
Version:
 
18 lines • 659 B
TypeScript
/**
* processes the JSON files and generates typescript
* interfaces using the same folder structure
* @param file
* @param relativePath
* @param outputBaseDir
*/
export declare function generateInterfacesFromFile(file: string, relativePath: string, outputBaseDir: string): Promise<void>;
/**
* Parses a directory 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