mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08: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:
committed by
Andrew Kushnir
parent
834927d0e7
commit
0e147cf6cb
@@ -240,5 +240,5 @@ export class MockPlatformLocation implements PlatformLocation {
|
||||
}
|
||||
|
||||
export function scheduleMicroTask(cb: () => any) {
|
||||
Promise.resolve(null).then(cb);
|
||||
Promise.resolve().then(cb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user