mirror of
https://github.com/zoriya/typebox.git
synced 2025-12-06 06:46:10 +00:00
430 B
430 B
0.18.1
- Function
Type.Enum(...)now expressed withanyOf. This to remove theallowUnionTypesconfiguration required to useenumwith in AJV strict. - Function
Type.Rec(...)now takes a required$idas the first parameter. - Function
Type.Strict(...)no longer includes a$schema. Callers can now optionally passCustomOptionsonType.Strict(...)