refactor: fix remaining typescript strict flag failures (#30993)

Fixes the remaining TypeScript --strict flag failures for source
files which are not part of any specific release package.

PR Close #30993
This commit is contained in:
Paul Gschwendtner
2019-06-14 09:29:04 +02:00
committed by Miško Hevery
parent 012b535147
commit a27c5dd740
5 changed files with 27 additions and 14 deletions

View File

@ -63,6 +63,7 @@ function setInterval(fn: Function, delay: number) {
while (rootZone.parent) {
rootZone = rootZone.parent;
}
rootZone.run(
() => { window.setInterval(function() { zone.run(fn, this, arguments as any); }, delay); });
rootZone.run(() => {
window.setInterval(function(this: unknown) { zone.run(fn, this, arguments as any); }, delay);
});
}