We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a6ce14 + e348be6 commit e81aceaCopy full SHA for e81acea
extensions/typescript-language-features/src/tsconfig.ts
@@ -76,6 +76,10 @@ function inferredProjectConfigSnippet(
76
config: TypeScriptServiceConfiguration
77
) {
78
const baseConfig = inferredProjectCompilerOptions(version, projectType, config);
79
+ if (projectType === ProjectType.TypeScript) {
80
+ delete baseConfig.allowImportingTsExtensions;
81
+ }
82
+
83
const compilerOptions = Object.keys(baseConfig).map(key => `"${key}": ${JSON.stringify(baseConfig[key])}`);
84
return new vscode.SnippetString(`{
85
"compilerOptions": {
0 commit comments