Skip to content

Commit 733ce21

Browse files
authored
fix: add missing type definition cldr methods
1 parent 004ff35 commit 733ce21

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/cldr.d.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,20 @@ export interface DateFormatNameOptions {
55
standAlone?: string;
66
}
77

8+
export interface CurrencyDisplayOptions {
9+
currency: string;
10+
currencyDisplay?: string;
11+
value?: number;
12+
}
13+
14+
export function currencyDisplay(locale: string, options: CurrencyDisplayOptions): any;
15+
export function currencyDisplays(locale: string, currency: string): any;
16+
export function currencyFractionOptions(locale: string): any;
817
export function dateFormatNames(locale: string, options: DateFormatNameOptions): any;
18+
export function dateFormatNames(locale: string): any;
919
export function firstDay(locale: string): number;
1020
export function load(...data: any[]): void;
11-
export function numberSymbols(locale: string): any;
21+
export function localeCurrency(locale: string): any;
22+
export function localeInfo(locale: string): any;
23+
export function numberSymbols(locale: string): any;
24+
export function territoryCurrencyCode(territory: string): any;

0 commit comments

Comments
 (0)