Skip to content

Commit

Permalink
- Fixed export type for when using OpenAPI generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdikoomen committed Feb 5, 2022
1 parent facfe16 commit 2adb7f3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 2adb7f3

Please sign in to comment.