mirror of
https://github.com/react/react-native.git
synced 2026-09-29 16:58:04 +08:00
Fix typos: "boostrap" -> "bootstrap" and "informations" -> "information" (#55849)
Summary: This PR fixes simple typos found in error messages: - **apple.js**: Fixed "boostrap" -> "bootstrap" in error messages (lines 67, 169) - **CppHelpers.js**: Fixed "informations" -> "information" in error messages (lines 75, 87, 101) Note: "information" is an uncountable noun in English and should not be pluralized. Changelog: [Internal] [Changed] - Pull Request resolved: https://github.com/facebook/react-native/pull/55849 Test Plan: These are typo fixes in error message strings. No code behavior changes. Reviewed By: cipolleschi Differential Revision: D94905006 Pulled By: cortinico fbshipit-source-id: a6a7185cf3aeb8739212a06115100ede097b0b4c
This commit is contained in:
committed by
meta-codesync[bot]
parent
50ae4c8838
commit
41b009f989
@@ -72,7 +72,7 @@ function getCppArrayTypeForAnnotation(
|
||||
case 'object':
|
||||
if (!structParts) {
|
||||
throw new Error(
|
||||
`Trying to generate the event emitter for an Array of ${typeElement.type} without informations to generate the generic type`,
|
||||
`Trying to generate the event emitter for an Array of ${typeElement.type} without information to generate the generic type`,
|
||||
);
|
||||
}
|
||||
return `std::vector<${generateEventStructName(structParts)}>`;
|
||||
@@ -84,7 +84,7 @@ function getCppArrayTypeForAnnotation(
|
||||
) {
|
||||
if (!structParts) {
|
||||
throw new Error(
|
||||
`Trying to generate the event emitter for an Array of ${typeElement.type} without informations to generate the generic type`,
|
||||
`Trying to generate the event emitter for an Array of ${typeElement.type} without information to generate the generic type`,
|
||||
);
|
||||
}
|
||||
return `std::vector<${generateEventStructName(structParts)}>`;
|
||||
|
||||
Reference in New Issue
Block a user