Files
DefinitelyTyped/types/cleave.js/index.d.ts
Forbes Lindesay 8f8f6c4392 [react] Use HTMLDialogElement for the dialog node (#23053)
* [react] Use HTMLDialogElement for the dialog node

* Actually add the `open` property

* This update requires typescript 2.6

* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00

26 lines
699 B
TypeScript

// Type definitions for cleave.js 1.1
// Project: https://github.com/nosir/cleave.js
// Definitions by: C Lentfort <https://github.com/clentfort>,
// J Giancono <https://github.com/jasongi-at-sportsbet>,
// Alex Shakun <https://github.com/sashashakun>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
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;