mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(common): remove unnecesary null (#47238)
These null values are unused and unecessary. I suspect it's a remnant from when the codebase was transpiled to Dart. PR Close #47238
This commit is contained in:
parent
834927d0e7
commit
0e147cf6cb
1 changed files with 1 additions and 1 deletions
|
|
@ -240,5 +240,5 @@ export class MockPlatformLocation implements PlatformLocation {
|
|||
}
|
||||
|
||||
export function scheduleMicroTask(cb: () => any) {
|
||||
Promise.resolve(null).then(cb);
|
||||
Promise.resolve().then(cb);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue