deno.land / x / typebox@0.32.21 / changelog / 0.24.15.md

0.24.15

Added:

  • Conditional.Extends(...) This enables TypeBox to conditionally map types inline with TypeScripts structural equivalence checks. Tested against TypeScript 4.7.4.
  • Conditional.Extract(...) Which analogs TypeScripts Extract<...> utility type. Additional information here
  • Conditional.Exclude(...) Which analogs TypeScripts Exclude<...> utility type. Additional information here
  • Type.Parameters(...) Returns the parameters of a TFunction as a TTuple
  • Type.ReturnType(...) Returns the return type schema of a TFunction
  • Type.ConstructorParameters(...) Returns the parameters of a TConstructor as a TTuple
  • Type.InstanceType(...) Returns the instance type schema of a TConstructor
typebox

Version Info

Tagged at
4 weeks ago