Skip to content

Commit

Permalink
fix(TS): set module to ES 2022 to support top-level awaits
Browse files Browse the repository at this point in the history
  • Loading branch information
TAnas0 committed Sep 9, 2024
1 parent 3303143 commit 4f85663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
/* Basic Options */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"module": "es2022", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": [
"es2015",
"esnext.asynciterable",
Expand Down

0 comments on commit 4f85663

Please sign in to comment.