Commit Graph
9 Commits
Author SHA1 Message Date
Nathan Shively-Sanders 5216cd4d5b Merge pull request #17375 from mohsen1/patch-21
Export DraftEditorProps
2017-06-25 09:44:27 -07:00
Mohsen Azimi 1412dd2524 Export DraftEditorProps 2017-06-21 18:24:35 -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 eeb262e1d8 Update react to TypeScript 2.3 2017-06-19 13:34:54 +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
Xiang Gao 68a96ccab0 update draft-js.d.ts (#16033)
* update draft-js.d.ts

export as namespace Draft;

* fix typo
2017-04-21 10:33:00 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00