npm install --save @types/approximate-number
This package contains type definitions for approximate-number (https://github.com/nfriedly/approximate-number).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/approximate-number.
declare namespace approximateNumber {
interface Options {
separator?: string | boolean | undefined;
decimal?: string | boolean | undefined;
round?: boolean | undefined;
min10k?: boolean | undefined;
prefix?: string | undefined;
suffix?: string | undefined;
capital?: boolean | undefined;
precision?: number | undefined;
}
}
declare function approximateNumber(
input: number | string,
options?: approximateNumber.Options,
): string;
export = approximateNumber;
export as namespace approximateNumber;
- Last updated: Wed, 08 May 2024 16:07:22 GMT
- Dependencies: none
These definitions were written by Giorgi Kakhoshvili.