feat(build): record angular version in the dom (#13164)
This commit is contained in:

committed by
Alex Rickabaugh

parent
3e73bea3e7
commit
e628b66cca
3
tools/public_api_guard/common/index.d.ts
vendored
3
tools/public_api_guard/common/index.d.ts
vendored
@ -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;
|
||||
|
12
tools/public_api_guard/core/index.d.ts
vendored
12
tools/public_api_guard/core/index.d.ts
vendored
@ -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;
|
||||
|
||||
|
3
tools/public_api_guard/forms/index.d.ts
vendored
3
tools/public_api_guard/forms/index.d.ts
vendored
@ -532,3 +532,6 @@ export declare class Validators {
|
||||
[key: string]: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const VERSION: Version;
|
||||
|
3
tools/public_api_guard/http/index.d.ts
vendored
3
tools/public_api_guard/http/index.d.ts
vendored
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -93,3 +93,6 @@ export declare class Title {
|
||||
getTitle(): string;
|
||||
setTitle(newTitle: string): void;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const VERSION: Version;
|
||||
|
@ -7,3 +7,6 @@ export declare const platformServer: (extraProviders?: Provider[]) => PlatformRe
|
||||
/** @experimental */
|
||||
export declare class ServerModule {
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const VERSION: Version;
|
||||
|
@ -1,2 +1,5 @@
|
||||
/** @experimental */
|
||||
export declare const platformWorkerAppDynamic: (extraProviders?: Provider[]) => PlatformRef;
|
||||
|
||||
/** @stable */
|
||||
export declare const VERSION: Version;
|
||||
|
@ -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;
|
||||
|
3
tools/public_api_guard/router/index.d.ts
vendored
3
tools/public_api_guard/router/index.d.ts
vendored
@ -413,3 +413,6 @@ export declare class UrlTree {
|
||||
root: UrlSegmentGroup;
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const VERSION: Version;
|
||||
|
3
tools/public_api_guard/upgrade/index.d.ts
vendored
3
tools/public_api_guard/upgrade/index.d.ts
vendored
@ -19,3 +19,6 @@ export declare class UpgradeAdapterRef {
|
||||
dispose(): void;
|
||||
ready(fn: (upgradeAdapterRef?: UpgradeAdapterRef) => void): void;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const VERSION: Version;
|
||||
|
Reference in New Issue
Block a user