Commit Graph

7 Commits

Author SHA1 Message Date
Santiago M Vilar
bae8cad188 Add editorState param to event handlers 2017-09-14 15:44:12 -03:00
Andy
af8b0d1294 FIx new lint errors (#18382) 2017-07-25 10:34:23 -07:00
Tanguy Krotoff
ea9de8a518 Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Tanguy Krotoff
e429bee4be Remove trailing spaces 2017-06-19 12:06:41 +02:00
Yale Cason III
214653678c Update Draft-js types so that convertFromHTML example typechecks (#16542)
* Update Draft-js types so that https://github.com/facebook/draft-js/blob/master/examples/draft-0-10-0/convertFromHTML/convert.html typechecks.

* Fix bad merge

* Fix bad fix for bad merge
2017-06-05 13:41:59 -07:00
Ryan Schwers
d28f34da92 [Draft-js] Support custom keyBindingFN strings
The current typings don't work for custom keyBindingFn
return values. keyBindingFn implementations may return
any string or null. TypeScript's handling of string unions is
preventing the fn type definition overloading from working
as intended. This change removes overloading and moves
the union to a type, and adds nullability to the type definition.
2017-05-16 15:10:22 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00