use eslint-disable not tslint:disable

This commit is contained in:
Nathan Shively-Sanders
2022-05-16 11:42:02 -07:00
parent 050d5c1396
commit 2c5cabc20b
+2 -2
View File
@@ -517,7 +517,7 @@ namespace ts.VirtualFS {
}
setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): any {
// tslint:disable:no-restricted-globals
// eslint-disable-next-line no-restricted-globals
setTimeout(callback, ms, ...args);
}
@@ -526,8 +526,8 @@ namespace ts.VirtualFS {
}
setImmediate(callback: (...args: any[]) => void, ...args: any[]): any {
// eslint-disable-next-line no-restricted-globals
setImmediate(callback, ...args);
// tslint:enable:no-restricted-globals
}
clearImmediate(_timeoutId: any): void {