build(common): inject deprecated getPluralCase for treeshaking (#19136)

Fixes #19115
PR Close #19136
This commit is contained in:
Olivier Combe
2017-09-11 11:34:30 +02:00
committed by Matias Niemelä
parent bf94f878bc
commit 1aa8401ddf
5 changed files with 46 additions and 31 deletions

View File

@ -286,9 +286,10 @@ export declare class NgIfContext {
/** @experimental */
export declare class NgLocaleLocalization extends NgLocalization {
/** @deprecated */ protected deprecatedPluralFn: ((locale: string, value: string | number) => Plural) | null | undefined;
protected locale: string;
protected useV4Plurals: boolean | undefined;
constructor(locale: string, useV4Plurals?: boolean | undefined);
constructor(locale: string,
deprecatedPluralFn?: ((locale: string, value: string | number) => Plural) | null | undefined);
getPluralCategory(value: any, locale?: string): string;
}