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

2.1.2 • Public • Published

Installation

npm install --save @types/comma-number

Summary

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

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/comma-number.

index.d.ts

declare function commaNumber(
    inputNumber: number | string,
    optionalSeparator?: string,
    optionalDecimalChar?: string,
): string;

declare namespace commaNumber {
    function bindWith(separator: string, decimalChar: string): (num: number | string) => string;
}

export = commaNumber;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Corey Rice.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/comma-number

Weekly Downloads

21,967

Version

2.1.2

License

MIT

Unpacked Size

3.15 kB

Total Files

5

Last publish

Collaborators

  • types