mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
* [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
26 lines
699 B
TypeScript
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;
|