Commit Graph

11 Commits

Author SHA1 Message Date
asakasa
a6e481c4bc
Add new types for TabBar in react-native
The types are available since iOS 10.
And then test for TabBar added.
2017-05-10 03:05:42 +09:00
Mohamed Hegazy
ff4eaf5d61 Fix lint errors introduced in tslint@5.2 (#16330) 2017-05-04 15:48:57 -07:00
Daniel Rosenwasser
550cf1fbea Removed inheritance from React.Props (which is deprecated) as well as explicit ref properties.
TypeScript already includes `ref` properties when necessary through the use of
`JSX.IntrinsicClassAttributes` (which is more or less just an alias of `React.ClassAttributes<T>`
inside of React's declaration files).

Our understanding is that having these declarations caused problems in assignability in
scenarios where the 'ref' key in props were not assignable in odd ways.
2017-05-02 17:24:25 -07:00
Andrew Goodale
ac241b3645 Fix lint failure 2017-04-20 11:21:21 -04:00
Andrew Goodale
ca056c85c5 Type definition for SectionList 2017-04-20 09:58:42 -04:00
Ryan Cavanaugh
a8b9ba579b Merge pull request #15817 from MNBuyskih/master
Fix linter errors for react-native FlatList declarations
2017-04-17 14:03:01 -07:00
MNB
cbfd296200 reac-native lint fixes 2017-04-12 17:43:53 +03:00
Daniel Earwicker
a56d17157a [react-native] - StyleSheet.create parameter properly constrained
Added test based on output of react-native init command
2017-04-11 09:47:10 +01:00
cailenmusselman
389adfc542 findNodeHandle also accepts base react-native components (#15444)
* findNodeHandle also accepts base react-native components

We're also able to pass in base react-native components like View, TextView, etc. to findNodeHandle

* Added static tests for findNodeHandle definition

* Removed trailing whitespace

* Okay NOW all trailing white-space is removed
2017-03-30 14:15:34 -07:00
Andy
bd29808df7 react-native: Fix lint failures (#15496)
...mostly by disabling them.
2017-03-29 15:53:09 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00