mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
[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:
Vendored
+4
-2
@@ -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
|
||||
|
||||
|
||||
Vendored
+1
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user