feat(common): expose getLocaleCurrencyCode publicly (#34810)
It was previously defined in core without being exposed publicly, whereas `getLocaleCurrencyName` and `getLocaleCurrencySymbol` were defined in common, and publicly exposed. This commit now privately exposes `ɵgetLocaleCurrencyCode` from core, and reexports it publicly from common. PR Close #34810
This commit is contained in:

committed by
Andrew Kushnir

parent
4ba478267e
commit
055533b6a7
2
tools/public_api_guard/common/common.d.ts
vendored
2
tools/public_api_guard/common/common.d.ts
vendored
@ -51,6 +51,8 @@ export declare enum FormStyle {
|
||||
|
||||
export declare function getCurrencySymbol(code: string, format: 'wide' | 'narrow', locale?: string): string;
|
||||
|
||||
export declare function getLocaleCurrencyCode(locale: string): string | null;
|
||||
|
||||
export declare function getLocaleCurrencyName(locale: string): string | null;
|
||||
|
||||
export declare function getLocaleCurrencySymbol(locale: string): string | null;
|
||||
|
Reference in New Issue
Block a user