Skip to content

Commit 87d43f9

Browse files
committed
config(TS): "allowJs": true
to enable TS typing preview for JS files
1 parent 7ba7b21 commit 87d43f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"display": "Node 14",
33
"compilerOptions": {
4-
"strict": true,
4+
"strict": true, // also sets "alwaysStrict": true
55
"noImplicitReturns": true,
66
"outDir": "./build/",
77
"sourceMap": true,
@@ -17,6 +17,7 @@
1717
"importHelpers": true,
1818
"skipLibCheck": true,
1919
"forceConsistentCasingInFileNames": true,
20+
"allowJs": true,
2021
"baseUrl": ".",
2122
"paths": {
2223
"components/*": ["./src/components/*"]

0 commit comments

Comments
 (0)