2
tools/public_api_guard/common/common.d.ts
vendored
2
tools/public_api_guard/common/common.d.ts
vendored
@ -203,7 +203,7 @@ export declare class Location {
|
||||
path(includeHash?: boolean): string;
|
||||
prepareExternalUrl(url: string): string;
|
||||
replaceState(path: string, query?: string, state?: any): void;
|
||||
subscribe(onNext: (value: PopStateEvent) => void, onThrow?: ((exception: any) => void) | null, onReturn?: (() => void) | null): ISubscription;
|
||||
subscribe(onNext: (value: PopStateEvent) => void, onThrow?: ((exception: any) => void) | null, onReturn?: (() => void) | null): SubscriptionLike;
|
||||
static joinWithSlash(start: string, end: string): string;
|
||||
static normalizeQueryParams(params: string): string;
|
||||
static stripTrailingSlash(url: string): string;
|
||||
|
2
tools/public_api_guard/common/testing.d.ts
vendored
2
tools/public_api_guard/common/testing.d.ts
vendored
@ -31,5 +31,5 @@ export declare class SpyLocation implements Location {
|
||||
setInitialPath(url: string): void;
|
||||
simulateHashChange(pathname: string): void;
|
||||
simulateUrlPop(pathname: string): void;
|
||||
subscribe(onNext: (value: any) => void, onThrow?: ((error: any) => void) | null, onReturn?: (() => void) | null): ISubscription;
|
||||
subscribe(onNext: (value: any) => void, onThrow?: ((error: any) => void) | null, onReturn?: (() => void) | null): SubscriptionLike;
|
||||
}
|
||||
|
Reference in New Issue
Block a user