fix(common): use v4 plurals when importing DeprecatedI18NPipesModule (#18955)

This commit is contained in:
Olivier Combe
2017-08-31 02:38:39 +02:00
committed by Victor Berchet
parent 043f104738
commit 30d53a8942
7 changed files with 482 additions and 91 deletions

View File

@ -21,7 +21,7 @@ export {
/**
* A collection of deprecated i18n pipes that require intl api
*
* @deprecated
* @deprecated from v5
*/
export const COMMON_DEPRECATED_I18N_PIPES: Provider[] =
[DeprecatedDecimalPipe, DeprecatedPercentPipe, DeprecatedCurrencyPipe, DeprecatedDatePipe];

View File

@ -6,10 +6,8 @@
* found in the LICENSE file at https://angular.io/license
*/
import {Inject, LOCALE_ID, Pipe, PipeTransform} from '@angular/core';
import {LOCALE_ID, Pipe, PipeTransform} from '@angular/core';
import {NgLocalization, getPluralCategory} from '../i18n/localization';
import {invalidPipeArgumentError} from './invalid_pipe_argument_error';
const _INTERPOLATION_REGEXP: RegExp = /#/g;