提交 c52f03cc 编写于 作者: M Matt Bierner

Only check tsc version for ts files. Fixes #17736

上级 35a6f985
......@@ -182,7 +182,9 @@ export default class BufferSyncSupport {
this.syncedBuffers[filepath] = syncedBuffer;
syncedBuffer.open();
this.requestDiagnostic(filepath);
this.checkTSCVersion();
if (document.languageId === 'typescript' || document.languageId === 'typescriptreact') {
this.checkTSCVersion();
}
}
private onDidCloseTextDocument(document: TextDocument): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册