curated-node
Version:
Not a framework. Not a module. Just a bunch of Node.js packages you most likely familiar with and probably already use, bundled together in a modular fashion.
16 lines (15 loc) • 570 B
TypeScript
import { _BaseProvider } from "../_BaseProvider";
export declare class Currency {
readonly id: number;
readonly symbol: string;
readonly alpha3: string;
readonly name: string;
readonly decimalPlaces: number;
constructor(id: number, symbol: string, alpha3: string, name: string, decimalPlaces: number);
static init(alpha3: string): Currency | null;
}
export declare class CurrencyProvider extends _BaseProvider<CurrencyProvider, {}> {
protected readonly _currencies: Array<Currency>;
constructor();
get currencies(): Currency[];
}