mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
use eslint-disable not tslint:disable
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user