refactor(common): unify export structure
This commit is contained in:
parent
f31c9470fa
commit
66b6fc010d
|
@ -11,12 +11,13 @@
|
||||||
* @description
|
* @description
|
||||||
* Entry point for all public APIs of the common package.
|
* Entry point for all public APIs of the common package.
|
||||||
*/
|
*/
|
||||||
export * from './src/location';
|
export * from './src/location/index';
|
||||||
export {NgLocalization} from './src/localization';
|
export {NgLocalization} from './src/localization';
|
||||||
export {CommonModule} from './src/common_module';
|
export {CommonModule} from './src/common_module';
|
||||||
export {NgClass, NgFor, NgIf, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet} from './src/directives/index';
|
export {NgClass, NgFor, NgIf, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet} from './src/directives/index';
|
||||||
export {AsyncPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, LowerCasePipe, CurrencyPipe, DecimalPipe, PercentPipe, SlicePipe, UpperCasePipe} from './src/pipes/index';
|
export {AsyncPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, LowerCasePipe, CurrencyPipe, DecimalPipe, PercentPipe, SlicePipe, UpperCasePipe} from './src/pipes/index';
|
||||||
import {Version} from '@angular/core';
|
import {Version} from '@angular/core';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @stable
|
* @stable
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
/**
|
|
||||||
* @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
|
|
||||||
*/
|
|
||||||
|
|
||||||
export * from './location/platform_location';
|
|
||||||
export * from './location/location_strategy';
|
|
||||||
export * from './location/hash_location_strategy';
|
|
||||||
export * from './location/path_location_strategy';
|
|
||||||
export * from './location/location';
|
|
|
@ -6,8 +6,8 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
export * from './platform_location';
|
||||||
* @module
|
export * from './location_strategy';
|
||||||
* @description
|
export * from './hash_location_strategy';
|
||||||
* This module provides a set of common Pipes.
|
export * from './path_location_strategy';
|
||||||
*/
|
export * from './location';
|
Loading…
Reference in New Issue