Set the option to generate union undefined types for objects that have optional items. This will allow us to enable `exactOptionalPropertyTypes` in our tsconfig [1]. [1] This is a recommended setting, see: https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes |
||
|---|---|---|
| .. | ||
| config | ||
| schema | ||
| codegen.sh | ||
| pull.sh | ||
| README.md | ||
API
This folder contains generated code for API endpoints needed by this repo.
Updating API changes
To pull new API changes and regenerating the code run
npm run api
Regenerating the code only
To regenerate the code only, run
npm run api:generate