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:
Dima
2018-10-02 07:10:57 +03:00
committed by Wesley Wigham
parent 743ececa23
commit d7c0940e9e

View File

@@ -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 {