Skip to content

Commit 42bd0ce

Browse files
committed
chore: update TypeScript config for hello-solana anchor to resolve TS issues
- Upgrade TypeScript compiler options to use ES2020 features - Change module resolution to 'nodenext'
1 parent 24de1e6 commit 42bd0ce

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"compilerOptions": {
3-
"types": ["mocha", "chai"],
4-
"typeRoots": ["./node_modules/@types"],
5-
"lib": ["es2015"],
6-
"module": "commonjs",
7-
"target": "es6",
8-
"esModuleInterop": true
9-
}
2+
"compilerOptions": {
3+
"types": ["mocha", "chai"],
4+
"typeRoots": ["./node_modules/@types"],
5+
"lib": ["es2020"],
6+
"module": "nodenext",
7+
"target": "es2020",
8+
"esModuleInterop": true
9+
}
1010
}

0 commit comments

Comments
 (0)