Skip to content

Commit

Permalink
Merge pull request #32 from acchaulk/patch-1
Browse files Browse the repository at this point in the history
Update the type definition to export OpenApi as a default export
  • Loading branch information
wparad authored Oct 17, 2023
2 parents 9f75e4d + 75c0c08 commit e683d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export namespace OpenApi {
}
}

export class OpenApi {
export default class OpenApi {
constructor(options: OpenApi.ApiOptions, overrideLogger?: () => void);

setAuthorizer(authorizerFunc: (req?: unknown) => Promise<unknown>): void;
Expand Down

0 comments on commit e683d4d

Please sign in to comment.