Installation
npm install --save @types/phone-formatter
Summary
This package contains type definitions for phone-formatter (https://github.com/stevekinney/node-phone-formatter).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/phone-formatter.
index.d.ts
declare module "phone-formatter" {
export interface FormatOptions {
normalize: boolean;
}
export function normalize(digits: string): string;
export function format(digits: string, format: string, options?: FormatOptions): string;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Seth Westphal.