fix(common): add upgrade sub-package to ng_package rule for @angular/common (#30117)
Follow-up to #30055 to include @angular/common/upgrade in the npm package Closes #30116 PR Close #30117
This commit is contained in:

committed by
Andrew Kushnir

parent
61365a94ed
commit
6de4cbdd41
7
tools/public_api_guard/common/testing.d.ts
vendored
7
tools/public_api_guard/common/testing.d.ts
vendored
@ -1,3 +1,5 @@
|
||||
export declare const MOCK_PLATFORM_LOCATION_CONFIG: InjectionToken<{}>;
|
||||
|
||||
export declare class MockLocationStrategy extends LocationStrategy {
|
||||
internalBaseHref: string;
|
||||
internalPath: string;
|
||||
@ -37,6 +39,11 @@ export declare class MockPlatformLocation implements PlatformLocation {
|
||||
replaceState(state: any, title: string, newUrl: string): void;
|
||||
}
|
||||
|
||||
export interface MockPlatformLocationConfig {
|
||||
appBaseHref?: string;
|
||||
startUrl?: string;
|
||||
}
|
||||
|
||||
export declare class SpyLocation implements Location {
|
||||
urlChanges: string[];
|
||||
back(): void;
|
||||
|
Reference in New Issue
Block a user