2.1.2 • Published 7 months ago

@types/comma-number v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for comma-number 2.1
// Project: https://github.com/elidoran/comma-number
// Definitions by: Corey Rice <https://github.com/coreyar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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, 21 Feb 2022 19:31:30 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Corey Rice.