diff --git a/modules/@angular/common/index.ts b/modules/@angular/common/index.ts index abd6a5c977..2681ca47c3 100644 --- a/modules/@angular/common/index.ts +++ b/modules/@angular/common/index.ts @@ -8,7 +8,6 @@ export * from './src/pipes'; export * from './src/directives'; -export * from './src/common_directives'; export * from './src/location'; export {NgLocalization} from './src/localization'; export {CommonModule} from './src/common_module'; diff --git a/modules/@angular/common/src/common_directives.ts b/modules/@angular/common/src/common_directives.ts index 177eff2bb6..c346e04c95 100644 --- a/modules/@angular/common/src/common_directives.ts +++ b/modules/@angular/common/src/common_directives.ts @@ -8,7 +8,7 @@ import {Provider} from '@angular/core'; -import {CORE_DIRECTIVES} from './directives'; +import {CORE_DIRECTIVES} from './directives/core_directives'; /** diff --git a/modules/@angular/common/src/common_module.ts b/modules/@angular/common/src/common_module.ts index ad5311d31f..4fdc6a2d63 100644 --- a/modules/@angular/common/src/common_module.ts +++ b/modules/@angular/common/src/common_module.ts @@ -10,7 +10,7 @@ import {NgModule} from '@angular/core'; import {COMMON_DIRECTIVES} from './common_directives'; import {NgLocaleLocalization, NgLocalization} from './localization'; -import {COMMON_PIPES} from './pipes'; +import {COMMON_PIPES} from './pipes/common_pipes'; // Note: This does not contain the location providers, // as they need some platform specific implementations to work. diff --git a/modules/@angular/common/src/directives.ts b/modules/@angular/common/src/directives.ts index b1cb237d09..4b709669a5 100644 --- a/modules/@angular/common/src/directives.ts +++ b/modules/@angular/common/src/directives.ts @@ -11,7 +11,6 @@ * @description * Common directives shipped with Angular. */ -export {CORE_DIRECTIVES} from './directives/core_directives'; export {NgClass} from './directives/ng_class'; export {NgFor} from './directives/ng_for'; export {NgIf} from './directives/ng_if'; diff --git a/modules/@angular/common/src/pipes.ts b/modules/@angular/common/src/pipes.ts index 969e20e36b..ec92ae1038 100644 --- a/modules/@angular/common/src/pipes.ts +++ b/modules/@angular/common/src/pipes.ts @@ -13,7 +13,6 @@ */ export {AsyncPipe} from './pipes/async_pipe'; -export {COMMON_PIPES} from './pipes/common_pipes'; export {DatePipe} from './pipes/date_pipe'; export {I18nPluralPipe} from './pipes/i18n_plural_pipe'; export {I18nSelectPipe} from './pipes/i18n_select_pipe'; diff --git a/tools/public_api_guard/common/index.d.ts b/tools/public_api_guard/common/index.d.ts index cda6c3eddd..546ee40582 100644 --- a/tools/public_api_guard/common/index.d.ts +++ b/tools/public_api_guard/common/index.d.ts @@ -8,19 +8,10 @@ export declare class AsyncPipe implements OnDestroy { transform(obj: Observable | Promise | EventEmitter): any; } -/** @experimental */ -export declare const COMMON_DIRECTIVES: Provider[]; - -/** @experimental */ -export declare const COMMON_PIPES: (typeof AsyncPipe | typeof SlicePipe | typeof I18nPluralPipe | typeof I18nSelectPipe)[]; - /** @experimental */ export declare class CommonModule { } -/** @stable */ -export declare const CORE_DIRECTIVES: Type[]; - /** @experimental */ export declare class CurrencyPipe implements PipeTransform { transform(value: any, currencyCode?: string, symbolDisplay?: boolean, digits?: string): string;