Commit 4340caf
authored
feat(typescript-fetch)!: simplify response types (#280)
- avoid `Promise<Promise<T>>` / webstorm wanting to double `await` after
latest updates
- reduce unnecessary noise in type hints, particularly in-editor
tooltips, etc
BREAKING CHANGE: `TypedFetchResponse` is removed, use `Res` directly if
needed1 parent b35edf9 commit 4340caf
File tree
14 files changed
+5443
-8252
lines changed- e2e/src/generated/client/fetch
- integration-tests/typescript-fetch/src/generated
- api.github.com.yaml
- azure-core-data-plane-service.tsp
- azure-resource-manager.tsp
- okta.idp.yaml
- okta.oauth.yaml
- petstore-expanded.yaml
- stripe.yaml
- todo-lists.yaml
- packages
- documentation/src/pages/guides/concepts
- openapi-code-generator/src/typescript/typescript-fetch
- typescript-fetch-runtime/src
14 files changed
+5443
-8252
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments