mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Fixed export type for when using OpenAPI generator
This commit is contained in:
parent
facfe1666b
commit
2adb7f3142
10
types/index.d.ts
vendored
10
types/index.d.ts
vendored
@ -31,8 +31,10 @@ export type Options = {
|
||||
|
||||
export declare function generate(options: Options): Promise<void>;
|
||||
|
||||
export default {
|
||||
HttpClient,
|
||||
Indent,
|
||||
generate,
|
||||
declare type OpenAPI = {
|
||||
HttpClient: HttpClient;
|
||||
Indent: Indent;
|
||||
generate: typeof generate;
|
||||
};
|
||||
|
||||
export default OpenAPI;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user