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.