fix(common): Update types for TypeScript nullability support
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
@ -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, onReturn?: () => void): Object;
|
||||
subscribe(onNext: (value: any) => void, onThrow?: ((error: any) => void) | null, onReturn?: (() => void) | null): Object;
|
||||
}
|
||||
|
Reference in New Issue
Block a user