-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: export more types to resolve TypeScript errors
- Loading branch information
Showing
12 changed files
with
71 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@hey-api/client-axios': patch | ||
'@hey-api/client-fetch': patch | ||
--- | ||
|
||
fix: export more types to resolve TypeScript errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/openapi-ts-tanstack-vue-query/src/components/__tests__/HelloWorld.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
export { createClient } from '../'; | ||
export type { Client, Config, Options, RequestResult } from '../types'; | ||
export type { | ||
Client, | ||
Config, | ||
Options, | ||
RequestOptions, | ||
RequestOptionsBase, | ||
RequestResult, | ||
} from '../types'; | ||
export { | ||
type BodySerializer, | ||
createConfig, | ||
formDataBodySerializer, | ||
jsonBodySerializer, | ||
type Middleware, | ||
type QuerySerializer, | ||
type QuerySerializerOptions, | ||
urlSearchParamsBodySerializer, | ||
} from '../utils'; |
9 changes: 8 additions & 1 deletion
9
...penapi-ts/test/__snapshots__/test/generated/v3-hey-api-client-axios-bundle/client.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
...test/__snapshots__/test/generated/v3-hey-api-client-axios-bundle_transform/client.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
...penapi-ts/test/__snapshots__/test/generated/v3-hey-api-client-fetch-bundle/client.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
export { createClient } from './core/'; | ||
export type { Client, Config, Options, RequestResult } from './core/types'; | ||
export type { | ||
Client, | ||
Config, | ||
Options, | ||
RequestOptions, | ||
RequestOptionsBase, | ||
RequestResult, | ||
} from './core/types'; | ||
export { | ||
type BodySerializer, | ||
createConfig, | ||
formDataBodySerializer, | ||
jsonBodySerializer, | ||
type Middleware, | ||
type QuerySerializer, | ||
type QuerySerializerOptions, | ||
urlSearchParamsBodySerializer, | ||
} from './core/utils'; |
13 changes: 12 additions & 1 deletion
13
...test/__snapshots__/test/generated/v3-hey-api-client-fetch-bundle_transform/client.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
export { createClient } from './core/'; | ||
export type { Client, Config, Options, RequestResult } from './core/types'; | ||
export type { | ||
Client, | ||
Config, | ||
Options, | ||
RequestOptions, | ||
RequestOptionsBase, | ||
RequestResult, | ||
} from './core/types'; | ||
export { | ||
type BodySerializer, | ||
createConfig, | ||
formDataBodySerializer, | ||
jsonBodySerializer, | ||
type Middleware, | ||
type QuerySerializer, | ||
type QuerySerializerOptions, | ||
urlSearchParamsBodySerializer, | ||
} from './core/utils'; |