Skip to content

Commit d3f2674

Browse files
use esnext
1 parent ed3b689 commit d3f2674

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/cmap/wire_protocol/on_data.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ export function onData(
8787

8888
[Symbol.asyncIterator]() {
8989
return this;
90-
},
91-
92-
// Note this should currently not be used, but is required by the AsyncGenerator interface.
93-
async [Symbol.asyncDispose]() {
94-
await closeHandler();
9590
}
9691
};
9792

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"moduleResolution": "node",
1010
"skipLibCheck": true,
1111
"lib": [
12-
"es2023",
13-
"esnext.disposable"
12+
"es2023"
1413
],
1514
// We don't make use of tslib helpers, all syntax used is supported by target engine
1615
"importHelpers": false,

0 commit comments

Comments
 (0)