test(common): add fallback for URL parsing in older browsers (IE < Edge) (#30055)
PR Close #30055
This commit is contained in:
2
tools/public_api_guard/common/testing.d.ts
vendored
2
tools/public_api_guard/common/testing.d.ts
vendored
@ -37,7 +37,7 @@ export declare class MockPlatformLocation implements PlatformLocation {
|
||||
replaceState(state: any, title: string, newUrl: string): void;
|
||||
}
|
||||
|
||||
export declare class SpyLocation extends Location {
|
||||
export declare class SpyLocation implements Location {
|
||||
urlChanges: string[];
|
||||
back(): void;
|
||||
forward(): void;
|
||||
|
Reference in New Issue
Block a user