From fe0ceae54373c0e12b36111b886a06c800f86c20 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Fri, 15 Feb 2019 08:05:29 -0800 Subject: Fix behavior for extensionless files with .mime file (#1779) --- js/compiler.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'js/compiler.ts') 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, -- cgit v1.2.3