mirror of
https://github.com/Microsoft/vscode
synced 2024-07-16 10:37:35 +00:00
workaround layer breaker where dom-API is dependent on from common (#197662)
workaround https://github.com/microsoft/vscode/issues/197661
This commit is contained in:
parent
ce40e7ce61
commit
273862296b
|
@ -1274,7 +1274,7 @@ declare function cancelIdleCallback(handle: number): void;
|
|||
};
|
||||
};
|
||||
} else {
|
||||
runWhenIdle = (targetWindow, runner, timeout?) => {
|
||||
runWhenIdle = (targetWindow: any, runner, timeout?) => {
|
||||
const handle: number = targetWindow.requestIdleCallback(runner, typeof timeout === 'number' ? { timeout } : undefined);
|
||||
let disposed = false;
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue