build(common): inject deprecated getPluralCase
for treeshaking (#19136)
Fixes #19115 PR Close #19136
This commit is contained in:

committed by
Matias Niemelä

parent
bf94f878bc
commit
1aa8401ddf
5
tools/public_api_guard/common/index.d.ts
vendored
5
tools/public_api_guard/common/index.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user