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

Only check tsc version for ts files. Fixes #17736

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