Files
DefinitelyTyped/types/cleave.js/index.d.ts
Rudolph Gottesheim 09bc77ae3d Fix cleave.js (Cleave is a class, not a function) (#23046)
* Fix cleave.js (Cleave is a class, not a function)

See examples at https://github.com/nosir/cleave.js

* Add whitespace
2018-01-19 10:12:29 -08:00

24 lines
615 B
TypeScript

// Type definitions for cleave.js 1.0
// Project: https://github.com/nosir/cleave.js
// Definitions by: C Lentfort <https://github.com/clentfort>, J Giancono <https://github.com/jasongi-at-sportsbet>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { CleaveOptions } from './options';
declare class Cleave {
constructor(selector: string, options: CleaveOptions);
getRawValue(): string;
setRawValue(value: string): void;
getFormattedValue(): string;
destroy(): void;
setPhoneRegionCode(regionCode: string): void;
}
export = Cleave;