Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Sep 10, 2024
1 parent 0beb94e commit 0deff33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions langchain-core/src/utils/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export class IterableReadableStream<T>
return this;
}

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore Not present in Node 18 types, required in latest Node 22
async [Symbol.asyncDispose]() {
await this.return();
Expand Down Expand Up @@ -263,6 +264,7 @@ export class AsyncGeneratorWithSetup<
return this;
}

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore Not present in Node 18 types, required in latest Node 22
async [Symbol.asyncDispose]() {
await this.return();
Expand Down

0 comments on commit 0deff33

Please # to comment.