We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df9c928 + bc78a42 commit e7fe5bdCopy full SHA for e7fe5bd
2 files changed
.changeset/little-bikes-dance.md
@@ -0,0 +1,5 @@
1
+---
2
+'@hey-api/openapi-ts': patch
3
4
+
5
+fix: make UserConfig interface instead of type
packages/openapi-ts/src/types/config.ts
@@ -233,8 +233,7 @@ export interface ClientConfig {
233
useOptions?: boolean;
234
}
235
236
-// export type UserConfig = ClientConfig | ReadonlyArray<ClientConfig>
237
-export type UserConfig = ClientConfig;
+export interface UserConfig extends ClientConfig {}
238
239
export type Config = Omit<
240
Required<ClientConfig>,
0 commit comments