fix: display framework version on bootstrapped component (#13252)
This commit is contained in:

committed by
Alex Rickabaugh

parent
986abbe0b2
commit
16efb13dd1
@ -21,5 +21,5 @@ export {ActivatedRoute, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot
|
||||
export {PRIMARY_OUTLET, Params} from './shared';
|
||||
export {UrlHandlingStrategy} from './url_handling_strategy';
|
||||
export {DefaultUrlSerializer, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree} from './url_tree';
|
||||
|
||||
export {VERSION} from './version';
|
||||
export * from './private_export'
|
||||
|
19
modules/@angular/router/src/version.ts
Normal file
19
modules/@angular/router/src/version.ts
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the common package.
|
||||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
* @stable
|
||||
*/
|
||||
export const VERSION = new Version('0.0.0-ROUTERPLACEHOLDER');
|
Reference in New Issue
Block a user