mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
checking also that the file is of type typescriptreact
This commit is contained in:
@@ -163,7 +163,7 @@ class DiagnosticsTelemetryManager extends Disposable {
|
||||
) {
|
||||
super();
|
||||
this._register(vscode.workspace.onDidChangeTextDocument(e => {
|
||||
if (e.document.languageId === 'typescript') {
|
||||
if (e.document.languageId === 'typescript' || e.document.languageId === 'typescriptreact') {
|
||||
this._updateAllDiagnosticCodesAfterTimeout();
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user