mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix typos (#25770)
Summary: Fix typos mostly in comments and some string literals. ## Changelog [General] [Fixed] - Fix typos Pull Request resolved: https://github.com/facebook/react-native/pull/25770 Differential Revision: D16437857 Pulled By: cpojer fbshipit-source-id: ffeb4d6b175e341381352091134f7c97d78c679f
This commit is contained in:
committed by
Facebook Github Bot
parent
d544fa20b7
commit
84f5ebe4f9
+2
-2
@@ -56,7 +56,7 @@ function getJavaValueForProp(
|
||||
return 'ReadableMap value';
|
||||
default:
|
||||
(typeAnnotation.name: empty);
|
||||
throw new Error('Receieved unknown NativePrimitiveTypeAnnotation');
|
||||
throw new Error('Received unknown NativePrimitiveTypeAnnotation');
|
||||
}
|
||||
case 'ArrayTypeAnnotation': {
|
||||
return 'ReadableArray value';
|
||||
@@ -65,7 +65,7 @@ function getJavaValueForProp(
|
||||
return 'String value';
|
||||
default:
|
||||
(typeAnnotation: empty);
|
||||
throw new Error('Receieved invalid typeAnnotation');
|
||||
throw new Error('Received invalid typeAnnotation');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user