Skip to content

Commit 1a24a45

Browse files
authored
Update config.ts
1 parent 677c77c commit 1a24a45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ const configSchema = Type.Object(
6363
/**
6464
* When enabled, this option ensures that only primitive types are generated as JSON types.
6565
* This ensures compatibility with tooling that only supports the serilization to JSON primitive types.
66+
*
67+
* This can be false (off), true (will result in formatted string type) or "transformer" which will use Tybepox transformers
68+
* to output native JS Date types but transforms those to strings on processing
6669
*
6770
* E.g. Date will be of Type String when enabled.
6871
*/

0 commit comments

Comments
 (0)