Skip to content

Commit

Permalink
feat: target es2022
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Haynes committed Jun 18, 2024
1 parent 8eb221f commit 0236b6a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/near-api-js/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"esModuleInterop": true,
"lib": [
"es2016",
"esnext",
"es2022",
"dom"
],
"module": "commonjs",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"esModuleInterop": true,
"module": "esnext",
"target": "esnext",
"module": "es2022",
"target": "es2022",
"moduleResolution": "node",
"alwaysStrict": true,
"declaration": true,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": [
"esnext",
"es2022",
"dom"
]
}
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": [
"esnext"
"es2022"
]
},
}

0 comments on commit 0236b6a

Please sign in to comment.