Skip to content

Commit f735906

Browse files
committed
let
1 parent c372a02 commit f735906

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/responses/stream_background.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function main() {
1111
background: true,
1212
});
1313

14-
var id: string | null = null;
14+
let id: string | null = null;
1515

1616
for await (const event of runner) {
1717
if (event.type == 'response.created') {

src/lib/responses/ResponseStream.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ export class ResponseStream<ParsedT = null>
174174
}
175175
this.#beginRequest();
176176

177-
var stream: Stream<ResponseStreamEvent> | undefined;
178-
var starting_after: number | null = null;
177+
let stream: Stream<ResponseStreamEvent> | undefined;
178+
let starting_after: number | null = null;
179179
if ('response_id' in params) {
180180
stream = await client.responses.retrieve(
181181
params.response_id,

0 commit comments

Comments
 (0)