@office-iss/react-native-win32 0.66.4 → 0.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/.eslintignore +2 -0
  2. package/.flowconfig +1 -1
  3. package/CHANGELOG.json +228 -46
  4. package/CHANGELOG.md +102 -25
  5. package/Libraries/ActionSheetIOS/ActionSheetIOS.js +14 -1
  6. package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +2 -0
  7. package/Libraries/Animated/AnimatedEvent.js +23 -4
  8. package/Libraries/Animated/NativeAnimatedHelper.js +2 -2
  9. package/Libraries/Animated/components/AnimatedImage.js +3 -3
  10. package/Libraries/Animated/components/AnimatedScrollView.js +3 -3
  11. package/Libraries/Animated/components/AnimatedText.js +3 -3
  12. package/Libraries/Animated/components/AnimatedView.js +1 -3
  13. package/Libraries/Animated/createAnimatedComponent.js +3 -34
  14. package/Libraries/Components/Button/ButtonWin32.js +2 -2
  15. package/Libraries/Components/Button/ButtonWin32.js.map +1 -1
  16. package/Libraries/Components/Button.js +3 -0
  17. package/Libraries/Components/DatePicker/DatePickerIOS.ios.js +3 -6
  18. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +4 -7
  19. package/Libraries/Components/EnterString.win32.js +3 -3
  20. package/Libraries/Components/EnterString.win32.js.map +1 -1
  21. package/Libraries/Components/Keyboard/Keyboard.js +2 -2
  22. package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +1 -0
  23. package/Libraries/Components/ScrollView/ScrollView.js +17 -16
  24. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +268 -252
  25. package/Libraries/Components/Text/Tests/TextWin32Test.d.ts +0 -1
  26. package/Libraries/Components/Text/TextWin32.Props.d.ts +2 -2
  27. package/Libraries/Components/Text/TextWin32.Props.js.map +1 -1
  28. package/Libraries/Components/Text/TextWin32.js +1 -1
  29. package/Libraries/Components/Text/TextWin32.js.map +1 -1
  30. package/Libraries/Components/TextInput/Tests/TextInputTest.d.ts +0 -1
  31. package/Libraries/Components/TextInput/TextInput.win32.js +6 -6
  32. package/Libraries/Components/TextInput/TextInput.win32.js.map +1 -1
  33. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.d.ts +0 -1
  34. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js +1 -1
  35. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -1
  36. package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +2 -2
  37. package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js.map +1 -1
  38. package/Libraries/Components/Touchable/TouchableWin32.js +2 -2
  39. package/Libraries/Components/Touchable/TouchableWin32.js.map +1 -1
  40. package/Libraries/Components/View/Tests/ViewWin32Test.d.ts +0 -1
  41. package/Libraries/Components/View/View.js +1 -1
  42. package/Libraries/Components/View/View.win32.js +1 -1
  43. package/Libraries/Components/View/ViewAccessibility.js +1 -1
  44. package/Libraries/Components/View/ViewWin32.Props.d.ts +3 -6
  45. package/Libraries/Components/View/ViewWin32.Props.js.map +1 -1
  46. package/Libraries/Components/View/ViewWin32.js +5 -5
  47. package/Libraries/Components/View/ViewWin32.js.map +1 -1
  48. package/Libraries/Core/ExceptionsManager.js +45 -80
  49. package/Libraries/Core/ExtendedError.js +0 -1
  50. package/Libraries/Core/ReactNativeVersion.js +3 -3
  51. package/Libraries/Core/setUpBatchedBridge.js +1 -1
  52. package/Libraries/Core/setUpGlobals.js +2 -4
  53. package/Libraries/Core/setUpTimers.js +2 -2
  54. package/Libraries/Image/Image.ios.js +6 -0
  55. package/Libraries/Image/Image.win32.js +6 -0
  56. package/Libraries/Image/ImageBackground.js +10 -8
  57. package/Libraries/Image/ImageProps.js +28 -0
  58. package/Libraries/Image/Tests/ImageWin32Test.d.ts +0 -1
  59. package/Libraries/LogBox/Data/LogBoxData.js +18 -19
  60. package/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png +0 -0
  61. package/Libraries/LogBox/UI/LogBoxImages/chevron-left.png +0 -0
  62. package/Libraries/LogBox/UI/LogBoxImages/chevron-right.png +0 -0
  63. package/Libraries/LogBox/UI/LogBoxImages/close.png +0 -0
  64. package/Libraries/LogBox/UI/LogBoxImages/loader.png +0 -0
  65. package/Libraries/NewAppScreen/components/logo.png +0 -0
  66. package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +2 -1
  67. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +2 -0
  68. package/Libraries/PersonaCoin/PersonaCoin.js +3 -2
  69. package/Libraries/PersonaCoin/PersonaCoin.js.map +1 -1
  70. package/Libraries/Pressability/Pressability.js +13 -13
  71. package/Libraries/Pressability/Pressability.win32.js +13 -13
  72. package/Libraries/Pressability/PressabilityPerformanceEventEmitter.js +1 -1
  73. package/Libraries/ReactNative/AppRegistry.js +4 -2
  74. package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +1569 -875
  75. package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +529 -319
  76. package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +570 -362
  77. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +1592 -891
  78. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +521 -311
  79. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +562 -354
  80. package/Libraries/Share/Share.js +1 -1
  81. package/Libraries/StyleSheet/normalizeColor.js +2 -2
  82. package/Libraries/Text/TextProps.js +1 -7
  83. package/Libraries/TurboModule/TurboModuleRegistry.js +1 -1
  84. package/Libraries/Utilities/HMRClient.js +1 -1
  85. package/flow/global.js +45 -0
  86. package/index.js +15 -10
  87. package/index.win32.js +15 -10
  88. package/jest/mockModal.js +31 -0
  89. package/jest/preprocessor.js +7 -75
  90. package/jest/setup.js +5 -3
  91. package/overrides.json +8 -14
  92. package/package.json +19 -17
  93. package/rntypes/BatchedBridge.d.ts +23 -0
  94. package/rntypes/Devtools.d.ts +20 -0
  95. package/rntypes/LaunchScreen.d.ts +9 -0
  96. package/rntypes/globals.d.ts +496 -0
  97. package/rntypes/index.d.ts +9966 -0
  98. package/rntypes/legacy-properties.d.ts +266 -0
  99. package/src/Libraries/Components/Text/TextWin32.Props.ts +2 -2
  100. package/src/Libraries/Components/View/ViewWin32.Props.ts +6 -12
  101. package/src/rntypes/BatchedBridge.d.ts +23 -0
  102. package/src/rntypes/Devtools.d.ts +20 -0
  103. package/src/rntypes/LaunchScreen.d.ts +9 -0
  104. package/src/rntypes/globals.d.ts +496 -0
  105. package/src/rntypes/index.d.ts +9966 -0
  106. package/src/rntypes/legacy-properties.d.ts +266 -0
  107. package/src/typings-index.ts +11 -4
  108. package/typings-index.d.ts +3 -1
  109. package/typings-index.js +7 -5
  110. package/typings-index.js.map +1 -1
  111. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js +0 -87
  112. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js +0 -30
  113. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.win32.js +0 -30
  114. package/Libraries/Components/DatePickerAndroid/DatePickerAndroidTypes.js +0 -30
  115. package/Libraries/Components/StaticContainer.react.js +0 -51
  116. package/Libraries/Components/Touchable/ensurePositiveDelayProps.js +0 -25
  117. package/Libraries/Interaction/InteractionMixin.js +0 -54
  118. package/Libraries/ReactNative/queryLayoutByID.js +0 -58
@@ -0,0 +1,266 @@
1
+ import {
2
+ TextProps,
3
+ TextPropsIOS,
4
+ TextPropsAndroid,
5
+ AccessibilityProps,
6
+ AccessibilityPropsIOS,
7
+ AccessibilityPropsAndroid,
8
+ TextInputProps,
9
+ TextInputIOSProps,
10
+ TextInputAndroidProps,
11
+ ViewProps,
12
+ ViewPropsIOS,
13
+ ViewPropsAndroid,
14
+ ToolbarAndroidProps,
15
+ ViewPagerAndroidProps,
16
+ SegmentedControlIOSProps,
17
+ ScrollViewProps,
18
+ ScrollViewPropsIOS,
19
+ ScrollViewPropsAndroid,
20
+ InputAccessoryViewProps,
21
+ NavigatorIOSProps,
22
+ ActivityIndicatorProps,
23
+ ActivityIndicatorIOSProps,
24
+ DatePickerIOSProps,
25
+ DrawerLayoutAndroidProps,
26
+ PickerItemProps,
27
+ PickerIOSItemProps,
28
+ PickerProps,
29
+ PickerPropsIOS,
30
+ PickerPropsAndroid,
31
+ PickerIOSProps,
32
+ ProgressBarAndroidProps,
33
+ ProgressViewIOSProps,
34
+ RefreshControlProps,
35
+ RefreshControlPropsIOS,
36
+ RefreshControlPropsAndroid,
37
+ RecyclerViewBackedScrollViewProps,
38
+ SliderProps,
39
+ SliderPropsIOS,
40
+ SliderPropsAndroid,
41
+ SwitchIOSProps,
42
+ ImageSourcePropType,
43
+ ImageProps,
44
+ ImagePropsIOS,
45
+ ImagePropsAndroid,
46
+ ImageBackgroundProps,
47
+ FlatListProps,
48
+ VirtualizedListProps,
49
+ SectionListProps,
50
+ ListViewProps,
51
+ MaskedViewIOSProps,
52
+ ModalProps,
53
+ TouchableWithoutFeedbackProps,
54
+ TouchableHighlightProps,
55
+ TouchableOpacityProps,
56
+ TouchableNativeFeedbackProps,
57
+ TabBarIOSItemProps,
58
+ TabBarIOSProps,
59
+ SnapshotViewIOSProps,
60
+ ButtonProps,
61
+ StatusBarProps,
62
+ StatusBarPropsIOS,
63
+ StatusBarPropsAndroid,
64
+ SwitchProps,
65
+ SwitchPropsIOS,
66
+ } from 'react-native';
67
+
68
+ declare module 'react-native' {
69
+ /*
70
+ * Previously, props interfaces where named *Properties
71
+ * They have been renamed to *Props to match React Native documentation
72
+ * The following lines ensure compatibility with *Properties and should be removed in the future
73
+ */
74
+
75
+ /** @deprecated Use TextProps */
76
+ export type TextProperties = TextProps;
77
+
78
+ /** @deprecated Use TextPropsIOS */
79
+ export type TextPropertiesIOS = TextPropsIOS;
80
+
81
+ /** @deprecated Use TextPropsAndroid */
82
+ export type TextPropertiesAndroid = TextPropsAndroid;
83
+
84
+ /** @deprecated Use AccessibilityProps */
85
+ export type AccessibilityProperties = AccessibilityProps;
86
+
87
+ /** @deprecated Use AccessibilityPropsIOS */
88
+ export type AccessibilityPropertiesIOS = AccessibilityPropsIOS;
89
+
90
+ /** @deprecated Use AccessibilityPropsAndroid */
91
+ export type AccessibilityPropertiesAndroid = AccessibilityPropsAndroid;
92
+
93
+ /** @deprecated Use TextInputProps */
94
+ export type TextInputProperties = TextInputProps;
95
+
96
+ /** @deprecated Use TextInputIOSProps */
97
+ export type TextInputIOSProperties = TextInputIOSProps;
98
+
99
+ /** @deprecated Use TextInputAndroidProps */
100
+ export type TextInputAndroidProperties = TextInputAndroidProps;
101
+
102
+ /** @deprecated Use ViewProps */
103
+ export type ViewProperties = ViewProps;
104
+
105
+ /** @deprecated Use ViewPropsIOS */
106
+ export type ViewPropertiesIOS = ViewPropsIOS;
107
+
108
+ /** @deprecated Use ViewPropsAndroid */
109
+ export type ViewPropertiesAndroid = ViewPropsAndroid;
110
+
111
+ /** @deprecated Use ToolbarAndroidProps */
112
+ export type ToolbarAndroidProperties = ToolbarAndroidProps;
113
+
114
+ /** @deprecated Use ViewPagerAndroidProps */
115
+ export type ViewPagerAndroidProperties = ViewPagerAndroidProps;
116
+
117
+ /** @deprecated Use SegmentedControlIOSProps */
118
+ export type SegmentedControlIOSProperties = SegmentedControlIOSProps;
119
+
120
+ /** @deprecated Use ScrollViewProps */
121
+ export type ScrollViewProperties = ScrollViewProps;
122
+
123
+ /** @deprecated Use ScrollViewPropsIOS */
124
+ export type ScrollViewPropertiesIOS = ScrollViewPropsIOS;
125
+
126
+ /** @deprecated Use ScrollViewPropsAndroid */
127
+ export type ScrollViewPropertiesAndroid = ScrollViewPropsAndroid;
128
+
129
+ /** @deprecated Use InputAccessoryViewProps */
130
+ export type InputAccessoryViewProperties = InputAccessoryViewProps;
131
+
132
+ /** @deprecated Use NavigatorIOSProps */
133
+ export type NavigatorIOSProperties = NavigatorIOSProps;
134
+
135
+ /** @deprecated Use ActivityIndicatorProps */
136
+ export type ActivityIndicatorProperties = ActivityIndicatorProps;
137
+
138
+ /** @deprecated Use ActivityIndicatorIOSProps */
139
+ export type ActivityIndicatorIOSProperties = ActivityIndicatorIOSProps;
140
+
141
+ /** @deprecated Use DatePickerIOSProps */
142
+ export type DatePickerIOSProperties = DatePickerIOSProps;
143
+
144
+ /** @deprecated Use DrawerLayoutAndroidProps */
145
+ export type DrawerLayoutAndroidProperties = DrawerLayoutAndroidProps;
146
+
147
+ /** @deprecated Use PickerItemProps */
148
+ export type PickerItemProperties = PickerItemProps;
149
+
150
+ /** @deprecated Use PickerIOSItemProps */
151
+ export type PickerIOSItemProperties = PickerIOSItemProps;
152
+
153
+ /** @deprecated Use PickerProps */
154
+ export type PickerProperties = PickerProps;
155
+
156
+ /** @deprecated Use PickerPropsIOS */
157
+ export type PickerPropertiesIOS = PickerPropsIOS;
158
+
159
+ /** @deprecated Use PickerPropsAndroid */
160
+ export type PickerPropertiesAndroid = PickerPropsAndroid;
161
+
162
+ /** @deprecated Use PickerIOSProps */
163
+ export type PickerIOSProperties = PickerIOSProps;
164
+
165
+ /** @deprecated Use ProgressBarAndroidProps */
166
+ export type ProgressBarAndroidProperties = ProgressBarAndroidProps;
167
+
168
+ /** @deprecated Use ProgressViewIOSProps */
169
+ export type ProgressViewIOSProperties = ProgressViewIOSProps;
170
+
171
+ /** @deprecated Use RefreshControlProps */
172
+ export type RefreshControlProperties = RefreshControlProps;
173
+
174
+ /** @deprecated Use RefreshControlPropsIOS */
175
+ export type RefreshControlPropertiesIOS = RefreshControlPropsIOS;
176
+
177
+ /** @deprecated Use RefreshControlPropsAndroid */
178
+ export type RefreshControlPropertiesAndroid = RefreshControlPropsAndroid;
179
+
180
+ /** @deprecated Use RecyclerViewBackedScrollViewProps */
181
+ export type RecyclerViewBackedScrollViewProperties = RecyclerViewBackedScrollViewProps;
182
+
183
+ /** @deprecated Use SliderProps */
184
+ export type SliderProperties = SliderProps;
185
+
186
+ /** @deprecated Use SliderPropsIOS */
187
+ export type SliderPropertiesIOS = SliderPropsIOS;
188
+
189
+ /** @deprecated Use SliderPropsAndroid */
190
+ export type SliderPropertiesAndroid = SliderPropsAndroid;
191
+
192
+ /** @deprecated Use SwitchIOSProps */
193
+ export type SwitchIOSProperties = SwitchIOSProps;
194
+
195
+ /** @deprecated Use ImageSourcePropType */
196
+ export type ImagePropertiesSourceOptions = ImageSourcePropType;
197
+
198
+ /** @deprecated Use ImageProps */
199
+ export type ImageProperties = ImageProps;
200
+
201
+ /** @deprecated Use ImagePropsIOS */
202
+ export type ImagePropertiesIOS = ImagePropsIOS;
203
+
204
+ /** @deprecated Use ImagePropsAndroid */
205
+ export type ImagePropertiesAndroid = ImagePropsAndroid;
206
+
207
+ /** @deprecated Use ImageBackgroundProps */
208
+ export type ImageBackgroundProperties = ImageBackgroundProps;
209
+
210
+ /** @deprecated Use FlatListProps */
211
+ export type FlatListProperties<ItemT> = FlatListProps<ItemT>;
212
+
213
+ /** @deprecated Use VirtualizedListProps */
214
+ export type VirtualizedListProperties<ItemT> = VirtualizedListProps<ItemT>;
215
+
216
+ /** @deprecated Use SectionListProps */
217
+ export type SectionListProperties<ItemT> = SectionListProps<ItemT>;
218
+
219
+ /** @deprecated Use ListViewProps */
220
+ export type ListViewProperties = ListViewProps;
221
+
222
+ /** @deprecated Use MaskedViewIOSProps */
223
+ export type MaskedViewIOSProperties = MaskedViewIOSProps;
224
+
225
+ /** @deprecated Use ModalProps */
226
+ export type ModalProperties = ModalProps;
227
+
228
+ /** @deprecated Use TouchableWithoutFeedbackProps */
229
+ export type TouchableWithoutFeedbackProperties = TouchableWithoutFeedbackProps;
230
+
231
+ /** @deprecated Use TouchableHighlightProps */
232
+ export type TouchableHighlightProperties = TouchableHighlightProps;
233
+
234
+ /** @deprecated Use TouchableOpacityProps */
235
+ export type TouchableOpacityProperties = TouchableOpacityProps;
236
+
237
+ /** @deprecated Use TouchableNativeFeedbackProps */
238
+ export type TouchableNativeFeedbackProperties = TouchableNativeFeedbackProps;
239
+
240
+ /** @deprecated Use TabBarIOSItemProps */
241
+ export type TabBarIOSItemProperties = TabBarIOSItemProps;
242
+
243
+ /** @deprecated Use TabBarIOSProps */
244
+ export type TabBarIOSProperties = TabBarIOSProps;
245
+
246
+ /** @deprecated Use SnapshotViewIOSProps */
247
+ export type SnapshotViewIOSProperties = SnapshotViewIOSProps;
248
+
249
+ /** @deprecated Use ButtonProps */
250
+ export type ButtonProperties = ButtonProps;
251
+
252
+ /** @deprecated Use StatusBarProps */
253
+ export type StatusBarProperties = StatusBarProps;
254
+
255
+ /** @deprecated Use StatusBarPropsIOS */
256
+ export type StatusBarPropertiesIOS = StatusBarPropsIOS;
257
+
258
+ /** @deprecated Use StatusBarPropsAndroid */
259
+ export type StatusBarPropertiesAndroid = StatusBarPropsAndroid;
260
+
261
+ /** @deprecated Use SwitchProps */
262
+ export type SwitchProperties = SwitchProps;
263
+
264
+ /** @deprecated Use SwitchPropsIOS */
265
+ export type SwitchPropertiesIOS = SwitchPropsIOS;
266
+ }
@@ -17,7 +17,7 @@ export type SharedTextPropsAndroidandWin32 = {
17
17
  /**
18
18
  * Role-based text style names.
19
19
  */
20
- export type TextStyle =
20
+ export type TextWin32TextStyle =
21
21
  | 'None'
22
22
  | 'SmallStandard'
23
23
  | 'SmallSecondary'
@@ -88,7 +88,7 @@ export interface ITextWin32Props extends Omit<RN.TextProps, TextWin32OmitTypes>,
88
88
  *
89
89
  * @deprecated Use `style` instead.
90
90
  */
91
- textStyle?: TextStyle;
91
+ textStyle?: TextWin32TextStyle;
92
92
 
93
93
  /** Tooltip displayed on mouse hover of this element */
94
94
  tooltip?: string;
@@ -127,12 +127,6 @@ export type AccessibilityActionInfo = Readonly<{
127
127
  label?: string;
128
128
  }>;
129
129
 
130
- export type AccessibilityActionEvent = RN.NativeSyntheticEvent<
131
- Readonly<{
132
- actionName: string;
133
- }>
134
- >;
135
-
136
130
  export type AccessibilityState = RN.AccessibilityState & { multiselectable?: boolean, required?: boolean };
137
131
 
138
132
  export type SharedAccessibilityPropsIOSandWin32 = {
@@ -175,13 +169,13 @@ export type BasePropsWin32 = {
175
169
  * This is mainly used for a Textbox with a Dropdown PeoplePicker-type list. This allows an
176
170
  * accessibility tool to query those other providers for properties and listen to their events.
177
171
  */
178
- accessibilityControls?: React.RefObject<any>;
172
+ accessibilityControls?: React.RefObject<any>;
179
173
 
180
- /**
181
- * Identifies the ItemType property, which is a text string describing the type of the automation element.
182
- * ItemType is used to obtain information about items in a list, tree view, or data grid. For example, an item in a file directory view might be a "Document File" or a "Folder".
183
- */
184
- accessibilityItemType?: string;
174
+ /**
175
+ * Identifies the ItemType property, which is a text string describing the type of the automation element.
176
+ * ItemType is used to obtain information about items in a list, tree view, or data grid. For example, an item in a file directory view might be a "Document File" or a "Folder".
177
+ */
178
+ accessibilityItemType?: string;
185
179
  };
186
180
 
187
181
  export type ViewWin32OmitTypes = RN.ViewPropsAndroid &
@@ -0,0 +1,23 @@
1
+ interface SpyData {
2
+ type: number;
3
+ module?: string | undefined;
4
+ method: string | number;
5
+ args: any[];
6
+ }
7
+
8
+ declare class MessageQueue {
9
+ static spy(spyOrToggle: boolean | ((data: SpyData) => void)): void;
10
+
11
+ getCallableModule(name: string): Object;
12
+ registerCallableModule(name: string, module: Object): void;
13
+ registerLazyCallableModule(name: string, factory: () => Object): void;
14
+ }
15
+
16
+ declare module 'react-native/Libraries/BatchedBridge/BatchedBridge' {
17
+ const BatchedBridge: MessageQueue;
18
+ export default BatchedBridge;
19
+ }
20
+
21
+ declare module 'react-native/Libraries/BatchedBridge/MessageQueue' {
22
+ export default MessageQueue;
23
+ }
@@ -0,0 +1,20 @@
1
+ declare module 'react-native/Libraries/Core/Devtools/parseErrorStack' {
2
+ export type StackFrame = {
3
+ file: string;
4
+ methodName: string;
5
+ lineNumber: number;
6
+ column: number | null;
7
+ };
8
+
9
+ export interface ExtendedError extends Error {
10
+ framesToPop?: number | undefined;
11
+ }
12
+
13
+ export default function parseErrorStack(error: ExtendedError): StackFrame[];
14
+ }
15
+
16
+ declare module 'react-native/Libraries/Core/Devtools/symbolicateStackTrace' {
17
+ import { StackFrame } from 'react-native/Libraries/Core/Devtools/parseErrorStack';
18
+
19
+ export default function symbolicateStackTrace(stack: ReadonlyArray<StackFrame>): Promise<StackFrame[]>;
20
+ }
@@ -0,0 +1,9 @@
1
+ // Adds the JSX elements used in the launch screen.
2
+
3
+ declare module 'react-native/Libraries/NewAppScreen' {
4
+ export const Header: any;
5
+ export const LearnMoreLinks: any;
6
+ export const Colors: any;
7
+ export const DebugInstructions: any;
8
+ export const ReloadInstructions: any;
9
+ }