swagger-typescript-generator
Version:
Generate typescript code from swagger.json. Before start this project I try use [swagger-typescript-codegen](https://github.com/mtennoe/swagger-typescript-codegen) based on [mustache templates](https://github.com/mtennoe/swagger-js-codegen/tree/master/lib
7 lines (6 loc) • 361 B
TypeScript
export declare const capitalize: (s: string) => string;
export declare const lowerlize: (s: string) => string;
export declare const html2text: (html: string) => string;
export declare const privateSymbol: unique symbol;
export declare const nameof: <T>(name: keyof T) => keyof T;
export declare const uniqueItems: <T>(items: T[], keyFn: (el: T) => any) => T[];