openapi-to-ts
Version:
Generate TypeScript types from OpenAPI 3.0 specs.
8 lines (7 loc) • 362 B
TypeScript
/**
* Use this method to write the types to the local file system
* of the users computer. It recursively creates missing directories.
* @param filePath the path where the file should be written to.
* @param types the types to write to the specified filePath.
*/
export declare const writeTypesToLocalFile: (filePath: string, types: string) => void;