Skip to content

Commit 6a4b87b

Browse files
authored
Turn off allowJs in typescript (#1043)
1 parent b7b7ba1 commit 6a4b87b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.

tsconfig.build.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"moduleResolution": "bundler",
88

99
/* JavaScript Support */
10-
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
11-
"checkJs": true /* Enable error reporting in type-checked JavaScript files. */,
10+
"allowJs": false /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
11+
"checkJs": false /* Enable error reporting in type-checked JavaScript files. */,
1212

1313
/* Build Options */
1414
"rootDir": "." /* Specify the root folder within your source files. */,

0 commit comments

Comments
 (0)