Skip to content

Commit bed5323

Browse files
panagosg7facebook-github-bot
authored andcommitted
manually remove instances of '$TEMPORARY$string<>' (#46874)
Summary: Remove instances of an unsound flow type Changelog: [internal] Pull Request resolved: #46874 Reviewed By: SamChou19815 Differential Revision: D63991776 fbshipit-source-id: 1817b1287803d22195bf521e07b3027b86562f47
1 parent 7b877a4 commit bed5323

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

packages/react-native-codegen/src/generators/components/JavaHelpers.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,7 @@ function getImports(
6666
| 'EdgeInsetsPrimitive'
6767
| 'ImageSourcePrimitive'
6868
| 'PointPrimitive'
69-
| 'DimensionPrimitive'
70-
| $TEMPORARY$string<'ColorPrimitive'>
71-
| $TEMPORARY$string<'EdgeInsetsPrimitive'>
72-
| $TEMPORARY$string<'ImageSourcePrimitive'>
73-
| $TEMPORARY$string<'PointPrimitive'>
74-
| $TEMPORARY$string<'DimensionPrimitive'>,
69+
| 'DimensionPrimitive',
7570
) {
7671
switch (name) {
7772
case 'ColorPrimitive':
@@ -107,6 +102,7 @@ function getImports(
107102
const typeAnnotation = prop.typeAnnotation;
108103

109104
if (typeAnnotation.type === 'ReservedPropTypeAnnotation') {
105+
// $FlowFixMe[incompatible-call]
110106
addImportsForNativeName(typeAnnotation.name);
111107
}
112108

0 commit comments

Comments
 (0)