Skip to content

Commit 9eca986

Browse files
authored
Update using-codegen.md (facebook#4668)
1 parent db0a1f1 commit 9eca986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/the-new-architecture/using-codegen.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ npx @react-native-community/cli@latest init SampleApp --version 0.76.0
3939
"modules": {
4040
"TestModule": {
4141
"className": "<iOS-class-implementing-the-RCTModuleProvider-protocol>",
42-
"unstableRequiresMainQueueSetup": false
42+
"unstableRequiresMainQueueSetup": false,
4343
"conformsToProtocols": ["RCTImageURLLoader", "RCTURLRequestHandler", "RCTImageDataDecoder"],
4444
}
4545
},
@@ -54,7 +54,7 @@ npx @react-native-community/cli@latest init SampleApp --version 0.76.0
5454

5555
You can add this snippet to your app and customize the various fields:
5656

57-
- `name:` Name of the codegen config. This will customize the codgen output: the filenames, and the code.
57+
- `name:` Name of the codegen config. This will customize the codegen output: the filenames, and the code.
5858
- `type:`
5959
- `modules:` Only generate code for modules.
6060
- `components:` Only generate code for components.

0 commit comments

Comments
 (0)