diff options
Diffstat (limited to 'js/compiler.ts')
-rw-r--r-- | js/compiler.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/compiler.ts b/js/compiler.ts index fa865de43..4ffef30fc 100644 --- a/js/compiler.ts +++ b/js/compiler.ts @@ -162,6 +162,7 @@ class Compiler implements ts.LanguageServiceHost, ts.FormatDiagnosticsHost { // arguments private readonly _options: ts.CompilerOptions = { allowJs: true, + allowNonTsExtensions: true, checkJs: true, esModuleInterop: true, module: ts.ModuleKind.ESNext, |