Commit d0a1efb
Change all remaining flow legacy casting syntax to modern one (#56259)
Summary:
Pull Request resolved: #56259
Change all remaining flow legacy casting syntax to modern one.
Changelog: [Internal]
Reviewed By: panagosg7
Differential Revision: D98565441
fbshipit-source-id: 39b64397689d1ce05647d6a029b7c903fff1a1f61 parent 9db1d13 commit d0a1efb
320 files changed
Lines changed: 1289 additions & 1282 deletions
File tree
- packages
- debugger-shell/src/electron
- dev-middleware/src
- __tests__
- middleware
- react-native-codegen/src
- generators
- components
- GeneratePropsJavaPojo
- modules
- GenerateModuleObjCpp
- header
- parsers
- flow
- components
- modules
- typescript/components
- react-native-compatibility-check/src
- __tests__/__fixtures__
- native-component-with-props-added-optional-prop
- native-component-with-props-added-required-prop
- native-component-with-props-all-types
- native-component-with-props-array-union-added
- native-component-with-props-array-union
- native-component-with-props-changes
- native-component-with-props-default-change
- native-component-with-props-nested-object-added-optional-key
- native-component-with-props-nested-object-added-required-key
- native-component-with-props-nested-object
- native-component-with-props-union-added
- native-component-with-props-union
- native-component-with-props
- native-component
- native-module-before-after-types-removed
- native-module-before-after-types-type-changed
- native-module-before-after-types
- native-module-changed
- native-module-get-constants-added-optional-constant-readonly
- native-module-get-constants-added-optional-constant
- native-module-get-constants-added-required-constant-readonly
- native-module-get-constants-added-required-constant
- native-module-get-constants-readonly
- native-module-get-constants
- native-module-nested-alias-changed
- native-module-nested-alias
- native-module-nested-changed
- native-module-nested-nullable
- native-module-nested-optional
- native-module-nested
- native-module-type-diffing-types
- native-module-with-dictionary-changed
- native-module-with-dictionary
- native-module-with-enum-changes
- native-module-with-enum-from-native-changes
- native-module-with-enum-from-native-type-changes
- native-module-with-enum-from-native-value-changes
- native-module-with-enum-from-native
- native-module-with-enum-type-changes
- native-module-with-enum-value-changes
- native-module-with-enum
- native-module-with-eventemitter-changes
- native-module-with-eventemitter
- native-module-with-optional-argument
- native-module-with-union-boolean-changes
- native-module-with-union-boolean
- native-module-with-union-changes
- native-module-with-union-confusing-string-literals
- native-module-with-union-from-native-changes
- native-module-with-union-from-native
- native-module-with-union-number-changes
- native-module-with-union-number
- native-module-with-union-object-added
- native-module-with-union-object-changes
- native-module-with-union-object
- native-module-with-union-type-changes
- native-module-with-union
- native-module
- react-native
- Libraries
- Animated
- components
- nodes
- BatchedBridge
- Components
- Pressable
- ScrollView
- Switch
- TextInput
- ToastAndroid
- Touchable
- Core
- Timers
- __mocks__
- Debugging
- EventEmitter
- Image
- LayoutAnimation
- Lists
- LogBox
- Data/__tests__
- __tests__
- Pressability
- __tests__
- ReactNative
- ReactFabricPublicInstance
- Settings
- StyleSheet
- __flowtests__
- Text
- Utilities
- __flowtests__
- vendor/emitter/__flowtests__
- src/private
- devsupport
- rndevtools/specs
- renderer/errorhandling
- specs_DEPRECATED
- components
- modules
- testing/fantom/specs
- utilities
- webapis
- dom/nodes/specs
- idlecallbacks/specs
- intersectionobserver/specs
- microtasks/specs
- mutationobserver/specs
- performance
- internals
- specs
- rn-tester
- IntegrationTests
- NativeComponentExample/js
- NativeCxxModuleExample
- ReportFullyDrawnView
- js
- examples
- ActivityIndicator
- Alert
- Animated
- AnimationBackend
- Border
- Button
- Crash
- DisplayContents
- Experimental
- Compatibility
- W3CPointerEventPlatformTests
- FlatList
- Image
- InvalidProps
- JSResponderHandlerExample
- KeyboardAvoidingView
- LayoutConformance
- Layout
- Modal
- Performance
- PermissionsAndroid
- Playground
- PointerEvents
- Pressable
- RTL
- SafeAreaView
- SwipeableCardExample
- TextInput
- Text
- Timer
- Touchable
- TurboModule
- View
- XHR
- utils
- virtualized-lists/Lists
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
| 692 | + | |
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
| 432 | + | |
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
0 commit comments