Skip to content

Commit

Permalink
chore(internal): remove unneeded type var usage (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and RobertCraigie committed Jul 13, 2023
1 parent 67bae64 commit 42fc4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export abstract class APIClient {
if (options.stream) {
// Note: there is an invariant here that isn't represented in the type system
// that if you set `stream: true` the response type must also be `Stream<T>`
return new Stream<Rsp>(response, controller) as any;
return new Stream(response, controller) as any;
}

const contentType = response.headers.get('content-type');
Expand Down

0 comments on commit 42fc4a9

Please sign in to comment.