mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
537 B
TypeScript
20 lines
537 B
TypeScript
// Type definitions for parsecurrency 0.2
|
|
// Project: https://github.com/mktj/parsecurrency#readme
|
|
// Definitions by: Cristian Greco <https://github.com/cristianrgreco>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface ParsedCurrency {
|
|
raw: string;
|
|
value: number;
|
|
integer: string;
|
|
decimals: string;
|
|
currency: string;
|
|
symbol: string;
|
|
decimalSeparator: string;
|
|
groupSeparator: string;
|
|
}
|
|
|
|
declare function parsecurrency(currency: string): ParsedCurrency;
|
|
|
|
export = parsecurrency;
|