Ivaylo Bratoev
da59c6f554
Cleanup redundant type parameters
2017-09-27 19:28:06 +03:00
huhuanming
d0c49ce6e5
Add MaskedView
2017-09-02 23:48:32 +08:00
Sahin Vardar
be58e6ad16
Fixes #18734
...
* Altered typing of NativeModulesStatic to enable NativeModule modules of type any and typed native modules at the same time.
* Added test case for typed and untyped native modules.
2017-08-29 20:30:01 +02:00
Andy
5d6c651a1a
Apply stricter lint rules ( #19063 )
2017-08-17 14:53:41 -07:00
mcousillas6
6f13f3dcba
Added missing type cases for ItemSeparatorComponent on react-native FlatList
2017-08-13 19:56:02 -03:00
Tim Wang
f1ebed48aa
Add optional property for SectionList
2017-07-28 10:29:17 +08:00
Tim Wang
cde9060ae1
Add correct type for SectionList
2017-07-27 21:33:10 +08:00
Tim Wang
4a0e8af3d9
Fix SectionList test
2017-07-27 21:00:03 +08:00
Tim Wang
d6168ee581
Fix typo
2017-07-27 17:36:53 +08:00
Tim Wang
c657519830
Remove unused import
2017-07-27 17:30:53 +08:00
Tim Wang
9fb7af4a03
Add test for FlatListProperties & SectionListProperties
2017-07-27 17:25:52 +08:00
Tim Wang
46ef92eda7
Fix test
2017-07-26 15:47:15 +08:00
paranoidjk
6310159eb6
fix(ReactNative): ScrollView.props.style definition error
2017-07-24 14:45:18 +08:00
Anthony Higa
316c573bf4
Adding divide routine to Animated
2017-07-19 13:48:18 -07:00
stackia
d030e33b5e
react-native: Stylesheet.create() return registered style
2017-07-19 01:37:50 +08:00
Fedor Nezhivoi
8088446401
@types/react-native: fix style related bugs
2017-07-16 22:43:46 +03:00
Andrzej Zabost
57a4dacea6
Add missing onDismiss callback in AlertOptions
2017-07-13 16:03:00 +02:00
Tanguy Krotoff
573083a518
Replace React.Component<(any|void|\{\}|null)> by React.Component
...
+ many manual adjustments
2017-06-21 09:48:37 +02: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
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