Skip to content

Commit 15549b9

Browse files
committed
Added esModuleInterop in tsconfig.json.
1 parent 76fc8f4 commit 15549b9

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

tsconfig.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2020",
4-
"module": "commonjs",
5-
"lib": ["ES2020"],
63
"declaration": true,
7-
"outDir": "dist",
8-
"rootDir": "src",
9-
"strict": true,
4+
"esModuleInterop": true,
5+
"forceConsistentCasingInFileNames": true,
6+
"lib": [
7+
"ES2020"
8+
],
9+
"module": "commonjs",
10+
"moduleResolution": "node",
1011
"noUnusedLocals": true,
1112
"noUnusedParameters": true,
12-
"moduleResolution": "node",
13+
"outDir": "dist",
14+
"rootDir": "src",
1315
"skipLibCheck": true,
14-
"forceConsistentCasingInFileNames": true
16+
"strict": true,
17+
"target": "ES2020"
1518
}
1619
}

0 commit comments

Comments
 (0)