test(common): add fallback for URL parsing in older browsers (IE < Edge) (#30055)

PR Close #30055
This commit is contained in:
Jason Aden
2019-04-23 14:53:38 -07:00
committed by Ben Lesh
parent c0c8d2349c
commit efdbbe1aa6
2 changed files with 47 additions and 2 deletions

View File

@ -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;