fix(common): export currencies via getCurrencySymbol (#20983)

PR Close #20983
This commit is contained in:
Olivier Combe
2017-12-13 15:16:05 +01:00
committed by Kara Erickson
parent 2fc4cf67be
commit fecf768f43
7 changed files with 34 additions and 18 deletions

View File

@ -15,11 +15,6 @@ export declare class AsyncPipe implements OnDestroy, PipeTransform {
export declare class CommonModule {
}
/** @experimental */
export declare const CURRENCIES: {
[code: string]: (string | undefined)[];
};
/** @stable */
export declare class CurrencyPipe implements PipeTransform {
constructor(_locale: string);
@ -83,6 +78,9 @@ export declare enum FormStyle {
Standalone = 1,
}
/** @experimental */
export declare function getCurrencySymbol(code: string, format: 'wide' | 'narrow'): string;
/** @experimental */
export declare function getLocaleCurrencyName(locale: string): string | null;