Module

x/typebox/changelog/0.18.1.md

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
File

0.18.1

  • Function Type.Enum(...) now expressed with anyOf. This to remove the allowUnionTypes configuration required to use enum with in AJV strict.
  • Function Type.Rec(...) now takes a required $id as the first parameter.
  • Function Type.Strict(...) no longer includes a $schema. Callers can now optionally pass CustomOptions on Type.Strict(...)