@hey-api/openapi-ts 0.53.2 → 0.53.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.cjs +1 -3
- package/dist/index.cjs +1331 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +776 -0
- package/dist/{node/index.d.ts → index.d.ts} +6 -2
- package/dist/index.js +1320 -0
- package/dist/index.js.map +1 -0
- package/package.json +24 -16
- package/dist/node/index.cjs +0 -1
|
@@ -541,7 +541,7 @@ interface ClientConfig {
|
|
|
541
541
|
/**
|
|
542
542
|
* HTTP client to generate
|
|
543
543
|
*/
|
|
544
|
-
client?: Client | {
|
|
544
|
+
client?: Client | false | {
|
|
545
545
|
/**
|
|
546
546
|
* Bundle the client module? Set this to true if you're using a standalone
|
|
547
547
|
* client package and don't want to declare it as a separate dependency.
|
|
@@ -768,5 +768,9 @@ declare function createClient(userConfig: UserConfig): Promise<ReadonlyArray<Cli
|
|
|
768
768
|
* Type helper for openapi-ts.config.ts, returns {@link UserConfig} object
|
|
769
769
|
*/
|
|
770
770
|
declare const defineConfig: (config: UserConfig) => UserConfig;
|
|
771
|
+
declare const _default: {
|
|
772
|
+
createClient: typeof createClient;
|
|
773
|
+
defineConfig: (config: UserConfig) => UserConfig;
|
|
774
|
+
};
|
|
771
775
|
|
|
772
|
-
export { type
|
|
776
|
+
export { type UserConfig, createClient, _default as default, defineConfig };
|