Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hougesen committed Jan 31, 2024
1 parent e51948d commit 69aa119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type GeneratedStruct = { array_key: Array<number>; boolean_key: boolean; map_key
### Writing struct to file
To write the sturcture to a file pass use the output option `$ npx json2struct <REQUIRED_INPUT_FILE> --output <OUTPUT_FILE>`.
To write the structure to a file pass use the output option `$ npx json2struct <REQUIRED_INPUT_FILE> --output <OUTPUT_FILE>`.
```sh
# example.json
Expand Down Expand Up @@ -201,4 +201,4 @@ One such example is not flattening the values of maps. In some cases it might ma
For the same reason json2struct does not take into account whether a key is actually valid in the given language.
Since this project is mostly meant to be a way for me to familiarize myself with different langauges, the types might not be the most optimal.
Since this project is mostly meant to be a way for me to familiarize myself with different languages, the types might not be the most optimal.

0 comments on commit 69aa119

Please sign in to comment.