feat(build): record angular version in the dom (#13164)

This commit is contained in:
Victor Savkin
2016-11-30 13:52:08 -08:00
committed by Alex Rickabaugh
parent 3e73bea3e7
commit e628b66cca
30 changed files with 152 additions and 10 deletions

View File

@ -227,3 +227,6 @@ export declare class SlicePipe implements PipeTransform {
export declare class UpperCasePipe implements PipeTransform {
transform(value: string): string;
}
/** @stable */
export declare const VERSION: Version;

View File

@ -949,6 +949,18 @@ export interface ValueProvider {
useValue: any;
}
/** @stable */
export declare class Version {
full: string;
major: string;
minor: string;
patch: string;
constructor(full: string);
}
/** @stable */
export declare const VERSION: Version;
/** @stable */
export declare const ViewChild: ViewChildDecorator;

View File

@ -532,3 +532,6 @@ export declare class Validators {
[key: string]: boolean;
};
}
/** @stable */
export declare const VERSION: Version;

View File

@ -227,6 +227,9 @@ export declare class URLSearchParams {
toString(): string;
}
/** @stable */
export declare const VERSION: Version;
/** @experimental */
export declare class XHRBackend implements ConnectionBackend {
constructor(_browserXHR: BrowserXhr, _baseResponseOptions: ResponseOptions, _xsrfStrategy: XSRFStrategy);

View File

@ -3,3 +3,6 @@ export declare const platformBrowserDynamic: (extraProviders?: Provider[]) => Pl
/** @experimental */
export declare const RESOURCE_CACHE_PROVIDER: Provider[];
/** @stable */
export declare const VERSION: Version;

View File

@ -93,3 +93,6 @@ export declare class Title {
getTitle(): string;
setTitle(newTitle: string): void;
}
/** @stable */
export declare const VERSION: Version;

View File

@ -7,3 +7,6 @@ export declare const platformServer: (extraProviders?: Provider[]) => PlatformRe
/** @experimental */
export declare class ServerModule {
}
/** @stable */
export declare const VERSION: Version;

View File

@ -1,2 +1,5 @@
/** @experimental */
export declare const platformWorkerAppDynamic: (extraProviders?: Provider[]) => PlatformRef;
/** @stable */
export declare const VERSION: Version;

View File

@ -77,6 +77,9 @@ export declare class UiArguments {
constructor(method: string, args?: FnArg[]);
}
/** @stable */
export declare const VERSION: Version;
/** @experimental */
export declare const WORKER_APP_LOCATION_PROVIDERS: ({
provide: typeof PlatformLocation;

View File

@ -413,3 +413,6 @@ export declare class UrlTree {
root: UrlSegmentGroup;
toString(): string;
}
/** @stable */
export declare const VERSION: Version;

View File

@ -19,3 +19,6 @@ export declare class UpgradeAdapterRef {
dispose(): void;
ready(fn: (upgradeAdapterRef?: UpgradeAdapterRef) => void): void;
}
/** @stable */
export declare const VERSION: Version;