mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08:00
Update numeraljs.d.ts
Added formatCurrency, changed format to a optional param to match functionality and spec.
This commit is contained in:
1 parent
8ebc099072
commit
d488c0b1f5
1 file changed
+2
-1
Vendored
+2
-1
@@ -27,7 +27,8 @@ interface Numeral {
|
||||
language(key: string, values?: NumeralJSLanguage): Numeral;
|
||||
zeroFormat(format: string): string;
|
||||
clone(): Numeral;
|
||||
format(inputString: string): string;
|
||||
format(inputString?: string): string;
|
||||
formatCurrency(inputString?: string): string;
|
||||
unformat(inputString: string): number;
|
||||
value(): number;
|
||||
valueOf(): number;
|
||||
|
||||
Reference in new issue
Block a user