Skip to content

Commit 6ce772b

Browse files
committed
Update to build for ES2022 instead of ES6
So we can use `for await` etc.
1 parent 25ee100 commit 6ce772b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: tsconfig.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
// the sources which the tests need). The extension is built with `esbuild`.
55
"module": "commonjs",
66
"outDir": "out",
7-
"target": "ES6",
8-
"lib": [ "ES6", "DOM" ],
7+
"target": "ES2022",
8+
"lib": [
9+
"ES2022",
10+
"DOM"
11+
],
912
"sourceMap": true,
1013
"rootDir": ".",
1114
// TODO: We need to enable stricter checking...

0 commit comments

Comments
 (0)