Skip to content

Commit 0e147cf

Browse files
jelbournAndrewKushnir
authored andcommitted
refactor(common): remove unnecesary null (angular#47238)
These null values are unused and unecessary. I suspect it's a remnant from when the codebase was transpiled to Dart. PR Close angular#47238
1 parent 834927d commit 0e147cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/testing/src/mock_platform_location.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,5 @@ export class MockPlatformLocation implements PlatformLocation {
240240
}
241241

242242
export function scheduleMicroTask(cb: () => any) {
243-
Promise.resolve(null).then(cb);
243+
Promise.resolve().then(cb);
244244
}

0 commit comments

Comments
 (0)