[cleave.js] Add missing type for htmlRef prop (#23244)

* Add missing prop type htmlRef for cleave.js

* bump version of type definitions for cleave.js after type adding
This commit is contained in:
Alexander
2018-02-01 09:12:09 -08:00
committed by Sheetal Nandi
parent 7d60dd66ed
commit 58c71e014c
2 changed files with 5 additions and 2 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
// Type definitions for cleave.js 1.0
// 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>
// 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.3
+1
View File
@@ -6,6 +6,7 @@ type InitHandler = (owner: React.ReactInstance) => void;
interface Props extends React.InputHTMLAttributes<HTMLInputElement> {
onInit?: InitHandler;
options: CleaveOptions;
htmlRef?: (i: any) => void;
}
declare var Cleave: React.ComponentClass<Props>;