Ferdi Koomen 4c1e74eb93 - Fixes
2020-12-16 19:50:31 +01:00

21 lines
467 B
TypeScript

export declare enum HttpClient {
FETCH = 'fetch',
XHR = 'xhr',
NODE = 'node',
}
export type Options = {
input: string | Record<string, any>;
output: string;
httpClient?: HttpClient;
useOptions?: boolean;
useUnionTypes?: boolean;
exportCore?: boolean;
exportServices?: boolean;
exportModels?: boolean;
exportSchemas?: boolean;
write?: boolean;
};
export declare function generate(options: Options): Promise<void>;