Commit Graph
159 Commits
Author SHA1 Message Date
Mathieu DutourandGitHub d644aafab0 add specific RN console properties
add the following properties to the console global object
* console.disableYellowBox
* console.ignoredYellowBox
See http://facebook.github.io/react-native/releases/0.48/docs/debugging.html#warnings
2017-09-17 17:29:01 +02:00
abrahambotros f56051d04b [react-native] Add VirtualizedList onLayout event data 2017-09-12 11:00:26 -07:00
Eloy DuránandGitHub ed00d63d7d Merge pull request #19686 from RhinobyteSoftware/ryant/master/react-native-onpress-signatures
react-native - Add event object method parameter to onPress signatures
2017-09-12 13:14:06 +02:00
Ryan Thomas 566bf1a85e react-native - Removed name from definitions by header 2017-09-12 06:11:18 -05:00
Ryan Thomas d86b47c09e ReactNative OnPress Signatures - Updated the TextProperties onLongPress/onPress method signatures and the TouchableWithoutFeedbackProperties onLongPress/onPress/onPressIn/onPressOut method signatures to include the event object as a parameter 2017-09-11 19:09:56 -05:00
Andrew Goodale c33eab35c0 Add issue link and fix Geolocation options type 2017-09-11 09:19:46 -04:00
Anton SemenovandGitHub 4be47eb978 Fix excludeActivityTypes property of ShareActionSheetIOSOptions
This property casting as it is to iOS native UIActivityViewController, that has a property excludedActivityTypes, not  excludeActivityTypes
2017-09-10 21:00:37 +03:00
Andrew Goodale 693f8a4886 Declare timer functions in a separate file 2017-09-08 18:08:45 -04:00
Andrew Goodale d5176877e2 Remove timer functions due to "error TS2383" 2017-09-08 09:50:34 -04:00
Andrew Goodale 745c8be65c Fix incorrect Geolocation callback error type 2017-09-07 17:34:36 -04:00
Andrew Goodale e46f35cf97 Update declaraiton of GeolocationStatic 2017-09-07 16:45:30 -04:00
Andrew Goodale 514e8253d3 Add global declarations for RN polyfills 2017-09-07 15:43:02 -04:00
huhuanming d0c49ce6e5 Add MaskedView 2017-09-02 23:48:32 +08:00
AndyandGitHub d74806eb3d Add lint disables for no-unnecessary-generics (#19508) 2017-09-01 08:34:37 -07: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
ahanriat da7db43db1 Add Animated.loop typings 2017-08-24 17:47:06 +02:00
Andrew Goodale 35f284e256 Remove references to types from "dom" TS library 2017-08-23 13:57:32 -04:00
Eloy DuránandGitHub abbc84feee Merge pull request #19080 from iRoachie/rn
[rn] Fix redeclaration of global
2017-08-23 18:25:19 +02:00
Kyle Roach 75b8d8a4e7 [rn] Fix redeclaration of global 2017-08-23 10:57:15 -04:00
AndyandGitHub 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Marco Buono 28bedbce72 react-native: Add display style
It's available as of v0.43, see the following commit:

https://github.com/facebook/react-native/commit/4d69f4b2d1cf4f2e8265fe5758f28086f1b67500
2017-08-18 20:07:41 -03:00
AndyandGitHub 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Kyle Roach 7842fff1b2 [rn] Adds imageStyle prop to ImageBackground 2017-08-16 16:56:12 -04:00
Eloy DuránandGitHub cae4925e76 Merge pull request #18924 from mcousillas6/fix/flatListItemSeparator
[react-native] Added missing type cases for ItemSeparatorComponent on FlatList
2017-08-15 18:25:00 +02:00
mcousillas6 468ccddeac Changed typing to React.ComponentType 2017-08-15 08:59:40 -03:00
Eloy DuránandGitHub 142a2fc41c Merge pull request #18922 from iRoachie/rn-share
[react-native] Make share options optional
2017-08-14 12:30:32 +02:00
mcousillas6 6f13f3dcba Added missing type cases for ItemSeparatorComponent on react-native FlatList 2017-08-13 19:56:02 -03:00
Kyle a2ea48b650 [react-native] Make share options optional 2017-08-13 17:50:15 -04:00
Adrian HallandGitHub 229ef45a96 Addressed reviewer comments
* Set the version # Back
* Removed myself as a maintainer.
2017-08-11 17:11:16 -07:00
Adrian Hall 6dd5be7f3e Increment version # 2017-08-11 13:34:04 -07:00
Adrian Hall a0e14262fd Fixed lint issues 2017-08-11 13:01:18 -07:00
Adrian Hall 25df9777a1 Added event listener modifications to Dimensions per latest spec. 2017-08-11 12:55:06 -07:00
Tommy Nguyen 534d133d8d fixup! Added definition for VirtualizedListProps.
Fixed inconsistent definitions.
2017-08-07 18:21:45 +02:00
Tommy Nguyen f1f3e5e89d Added definition for VirtualizedListProps. 2017-08-07 16:56:41 +02:00
Sahin Vardar 03c324b1d0 Add typings for react-native-sensor-manager
* Added NativeModulesStatic interface which is used as a type for NativeModule var in react-native type definition.
  * Now you can argument NativeModule through augmenting NativeModuleStatic.
 * Added NativeModuleStatic augmentation for react-native-sensor-manager which adds the SensorManager to the NativeModules.
 * Augmented DeviceEventEmitterStatic which adds type informations to 'addListener' function which works in conjunction with SensorManager.
2017-08-05 22:59:01 +02:00
Diogo do CarmoandSheetal Nandi c04b681612 Add useForeground to TouchableNativeFeedback (#18617) 2017-08-04 16:47:23 -07:00
huhuanmingandSheetal Nandi 6e8ad8b332 bump to 0.47 (#18561) 2017-08-02 12:59:19 -07:00
Al PraterandSheetal Nandi 78ea950c0c [react-native] Add DataDetectorType to WebViewPropertiesIOS (#18543) 2017-08-01 12:09:31 -07:00
Kamal Fariz MahyuddinandSheetal Nandi ee0954d539 [react-native] Add SectionList ListEmptyComponent (#18512)
Added in 0.45.x
2017-08-01 11:09:20 -07:00
Eloy DuránandGitHub 9622ee3e33 Merge pull request #18402 from timwangdev/patch-1
[react-native] Fix FlatList/SectionList renderItem method types
2017-07-28 10:40:32 +02: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 WangandGitHub 03b37e3f1b Make key optional for SectionListData 2017-07-27 21:11:59 +08:00
Tim WangandGitHub 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 4f0e33fcda Fix SectionListProperties 2017-07-27 17:26:23 +08:00
Tim Wang 9fb7af4a03 Add test for FlatListProperties & SectionListProperties 2017-07-27 17:25:52 +08:00
Andy Hanson 6b17f17f54 [react-native] Clarify use of brand type 2017-07-26 09:02:30 -07:00
Tim Wang 46ef92eda7 Fix test 2017-07-26 15:47:15 +08:00