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:
Brandon Roberts
2019-04-25 09:36:49 -05:00
committed by Andrew Kushnir
parent 61365a94ed
commit 6de4cbdd41
11 changed files with 49 additions and 14 deletions

View File

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