fix(common): export currencies via getCurrencySymbol (#20983)
PR Close #20983
This commit is contained in:
committed by
Kara Erickson
parent
2fc4cf67be
commit
fecf768f43
+3
-5
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user