@types/approximate-number
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Installation

npm install --save @types/approximate-number

Summary

This package contains type definitions for approximate-number (https://github.com/nfriedly/approximate-number).

Details

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;

Additional Details

  • Last updated: Wed, 08 May 2024 16:07:22 GMT
  • Dependencies: none

Credits

These definitions were written by Giorgi Kakhoshvili.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/approximate-number

Weekly Downloads

778

Version

2.1.0

License

MIT

Unpacked Size

3.79 kB

Total Files

5

Last publish

Collaborators

  • types