UNPKG

typescript-interface-generator

Version:
10 lines (9 loc) 613 B
import { InterfaceDeclaration } from 'ts-simple-ast'; export declare function capitalize(str: string): string; export declare function hasBeenCreatedBefore(interfaceDeclarations: Array<InterfaceDeclaration>, interfaceDeclaration: InterfaceDeclaration): undefined | string; export declare function addOrRemoveInterface(createdInterface: InterfaceDeclaration, interfaces?: Array<InterfaceDeclaration>): { name: string; interfaces: InterfaceDeclaration[]; }; export declare function buildTypeStringOfArrayTypes(array: Array<string>): string; export declare function keepUniq(uniqTypes: any, type: any): any;