Skip to content

Commit

Permalink
🧼 format & lint: apply linter
Browse files Browse the repository at this point in the history
  • Loading branch information
m1212e committed Jul 16, 2024
1 parent ca02db3 commit 27ec698
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ const configSchema = Type.Object(
```
*/
additionalFieldsPlain: Type.Optional(Type.Array(Type.String())),
/**
* When enabled, this option ensures that only primitive types are generated as JSON types.
* This ensures compatibility with tooling that only supports the serilization to JSON primitive types.
*
* E.g. Date will be of Type String when enabled.
*/
useJsonTypes: Type.Boolean({ default: false }),
},
{ additionalProperties: false },
Expand Down

0 comments on commit 27ec698

Please sign in to comment.