John Gozde
bbf3e9cb0b
[react]: Remove deprecated+removed APIs ( #20409 )
...
* create-react-class: add definitions
* react-dom-factories: add definitions
* create-react-class: add tests, fix errors
* react-dom-factories: add tests, fix lint
* react: remove previously deprecated APIs
* Remove deprecated usages in other definitions
* redux-form: disable strictFunctionTypes
Changes to react typings revealed errors in redux-form that are present
in 'master'. This needs to be handled separately.
* Update create-react-class, react-dom-factories author
* Avoid importing create-react-class where possible
* Move top-level createReactClass tests to create-react-class
2017-10-16 15:22:04 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07: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
eeb262e1d8
Update react to TypeScript 2.3
2017-06-19 13:34:54 +02:00
Nathan Shively-Sanders
163f4438df
Fix weak type errors ( #16845 )
...
* Fix first round of weak type errors
Done through griddle-react
* 95% done with weak type fixes
* Fix last couple of weak type errors
* Remove some lint from mithril tests
* mithril's Lifecycle is not a weak type any more
Restore the Lifecycle constraints in the rest of the definitions.
* Fix react-redux tests after #16652 broke them
* Remove package-lock.json
2017-06-04 22:03:03 -07:00
Andy Hanson
354cec620d
Move all packages to a types directory
2017-03-24 14:27:52 -07:00