mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Improve declaration file for "react-input-mask" (#29166)
* Improve declaration file for "react-input-mask" - add missing interface for Selection * Improve declaration file for "react-input-mask" - downgrade typescript version
This commit is contained in:
7
types/react-input-mask/index.d.ts
vendored
7
types/react-input-mask/index.d.ts
vendored
@@ -7,9 +7,14 @@
|
||||
|
||||
import * as React from 'react';
|
||||
|
||||
export interface Selection {
|
||||
start: number;
|
||||
end: number;
|
||||
}
|
||||
|
||||
export interface InputState {
|
||||
value: string;
|
||||
selection: Selection;
|
||||
selection: Selection | null;
|
||||
}
|
||||
|
||||
export interface MaskOptions {
|
||||
|
||||
Reference in New Issue
Block a user