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:
cexbrayat
2020-01-16 14:18:04 +01:00
committed by Andrew Kushnir
parent 4ba478267e
commit 055533b6a7
5 changed files with 21 additions and 4 deletions

View File

@ -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;