diff --git a/.changes/api-export-type-fix.md b/.changes/api-export-type-fix.md new file mode 100644 index 00000000000..8c871e80ce7 --- /dev/null +++ b/.changes/api-export-type-fix.md @@ -0,0 +1,5 @@ +--- +"api": patch +--- + +Export `Response` and `ResponseType` as value instead of type. diff --git a/tooling/api/src/http.ts b/tooling/api/src/http.ts index 64dac138607..9975b587d2f 100644 --- a/tooling/api/src/http.ts +++ b/tooling/api/src/http.ts @@ -348,13 +348,11 @@ async function fetch( export type { ClientOptions, - ResponseType, Part, HttpVerb, HttpOptions, RequestOptions, - FetchOptions, - Response + FetchOptions } -export { getClient, fetch, Body, Client } +export { getClient, fetch, Body, Client, Response, ResponseType }