Commit Graph

10 Commits

Author SHA1 Message Date
Tanguy Krotoff
b0c9072f43 Change React.Component<P, ...> to React.Component<P = {}, ...> 2017-06-21 09:47:00 +02:00
Tanguy Krotoff
b81d97133a Merge branch 'master' into react-default-type-arguments 2017-06-20 22:39:06 +02:00
Albert Kurniawan
f3527f0040 Updated Ref signature to handle null cases 2017-06-20 10:16:26 +10: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
3c9eba9d3f Change React.Component<P, S> to React.Component<P, S = {}> 2017-06-19 13:35:47 +02:00
Tanguy Krotoff
27acfc741a Change require('react') to import * as React from 'react' 2017-06-19 12:09:31 +02:00
Nathan Shively-Sanders
4874667de9 Fix primitive weak type errors
These weak type errors were not caught in TS 2.4 RC. The final TS 2.4
will catch weak type errors with primitives, so this PR fixes those
now-caught errors.
2017-06-15 11:46:46 -07:00
Wayne Dela Cruz
e4c860c1ba React specific typings for css position (#15575)
* React CSSProperties position made specific

* Add test for css position
2017-04-17 08:34:07 -07:00
Wayne Dela Cruz
6f8a10f1a1 Wrote tests for css overflow props 2017-03-28 21:12:19 +08:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00