1.0.2 • Published 6 months ago
@types/parsecurrency v1.0.2
Installation
npm install --save @types/parsecurrency
Summary
This package contains type definitions for parsecurrency (https://github.com/mktj/parsecurrency#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parsecurrency.
index.d.ts
// Type definitions for parsecurrency 1.0
// 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 | null;
export = parsecurrency;
Additional Details
- Last updated: Sun, 25 Jul 2021 12:01:15 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Cristian Greco.