summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/compiler.ts1
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,