Commit 09fc043
Fix a few readonly 10/n (#56948)
Summary:
Pull Request resolved: #56948
```
js1 flow-runner codemod flow/transformAllVariance --variance readonly --format-files=false
```
drop-conflicts
landed-with-radar-review
Reviewed By: SamChou19815
Differential Revision: D106144499
fbshipit-source-id: 85493334eae630d3dec7e5920633c076f8f097291 parent 0676eb6 commit 09fc043
193 files changed
Lines changed: 1493 additions & 1332 deletions
File tree
- packages
- react-native-codegen/src
- generators
- components
- parsers
- react-native-compatibility-check/src/__tests__/__fixtures__
- native-component-all-types
- native-component-with-command-all-basic-types-arrays
- native-component-with-command-all-basic-types
- native-component-with-command-changed
- native-component-with-command-extra-arg
- native-component-with-command-extra-command
- native-component-with-command
- 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-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/nodes
- Blob
- Components
- ScrollView
- TextInput
- Touchable
- View
- Core
- Image
- NativeComponent
- ReactNative
- StyleSheet
- private
- Text
- TurboModule
- Types
- Utilities
- differ
- vendor/emitter
- flow
- src/private
- animated
- components/virtualcollection
- devsupport
- rndevtools/specs
- renderer/errorhandling
- specs_DEPRECATED
- components
- modules
- testing/fantom/specs
- viewtransition/specs
- webapis
- dom
- events
- nodes/specs
- oldstylecollections
- errors
- geometry
- html/events
- idlecallbacks
- __tests__
- specs
- intersectionobserver/specs
- microtasks/specs
- mutationobserver
- specs
- performance
- internals
- specs
- utils
- websockets/events
- xhr/events
- rn-tester
- NativeComponentExample/js
- NativeCxxModuleExample
- NativeModuleExample
- js/examples/Experimental/PlatformTest
- scripts
- private
- helloworld/lib
- react-native-fantom/src
- scripts
- js-api/build-types/transforms/typescript/simplifyTypes
- releases/utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 84 additions & 79 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
56 | 73 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
65 | 87 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
69 | 98 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
76 | 109 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
81 | 127 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
Lines changed: 49 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
104 | 116 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
110 | 137 | | |
111 | | - | |
| 138 | + | |
112 | 139 | | |
113 | 140 | | |
114 | 141 | | |
115 | | - | |
| 142 | + | |
116 | 143 | | |
117 | 144 | | |
118 | 145 | | |
119 | | - | |
| 146 | + | |
120 | 147 | | |
121 | 148 | | |
122 | 149 | | |
123 | | - | |
| 150 | + | |
124 | 151 | | |
125 | 152 | | |
126 | 153 | | |
127 | | - | |
| 154 | + | |
128 | 155 | | |
129 | 156 | | |
130 | 157 | | |
131 | | - | |
| 158 | + | |
132 | 159 | | |
133 | 160 | | |
134 | 161 | | |
135 | | - | |
| 162 | + | |
136 | 163 | | |
137 | 164 | | |
138 | 165 | | |
139 | 166 | | |
140 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
141 | 171 | | |
142 | 172 | | |
143 | 173 | | |
| |||
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | | - | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
34 | 46 | | |
35 | 47 | | |
36 | 48 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments