Commit Graph

10 Commits

Author SHA1 Message Date
Eric Anderson
9b53298395 Support Pick<> on setState now that TS 2.1 is out (#13155)
* Support Partial<> on setState now that TS 2.1 is out

* Update readme to reflect setState being typed correctly

* Switch setState to Pick

* Restore cloneELement portion of readme

* Use Pick<> | S for setState due to cast issue

* state and props should be readonly

* Fix nit + document why we

* Add typescript compiler header

* Update to properly order headers

* Update readme to reflect 2.1.5 fixing stPick

* Update readme now that 2.1.5 is out

* All that depend on react now require 2.1

* Fix definition that fails due to readonly state
2017-01-23 12:36:53 -08:00
Andy
ae1501a00e Remove outdated text from react readme. (#13824)
We store different react typings in different directories now.
2017-01-06 17:41:08 -08:00
Vincent Siao
6b2cbaed75 [react] update README with known problems & workarounds 2016-03-14 02:05:24 -07:00
Vincent Siao
0a6e0c30da [React.14] Update HTMLAttributes/SVGAttributes for 0.14.2 2015-11-05 16:50:52 -08:00
James Brantly
77b2f7e8d4 Initial React v0.14 definitions 2015-10-14 19:21:31 -04:00
James Brantly
e79e14a7b8 Fixup the global definitions.
Originally had renamed react-global.d.ts to react-namespace.d.ts. After thinking about it further I don't think a rename really benefits anyone and would just cause confusion with people trying to upgrade. Also I had missed the `.d` in the original rename. Additionally adding some tests for the global version since there were none.
2015-09-03 23:07:28 -04:00
James Brantly
07c4e447f1 Reorganize React definitions 2015-08-27 22:09:55 -04:00
Vincent Siao
7b47d0c977 [React] Update README (0.13.3) 2015-05-28 15:33:04 -07:00
Vincent Siao
ffedf917df Remove beta and RC2 references from React defs 2015-03-14 15:27:46 -07:00
Phips Peter
57340eca1e Moving React 0.13 to be the default
React 0.13 is now released so it should be the default type definition.
http://facebook.github.io/react/blog/2015/03/10/react-v0.13.html
2015-03-10 19:03:37 -07:00