mirror of
https://github.com/zoriya/typebox.git
synced 2025-12-06 06:46:10 +00:00
979 B
979 B
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 TypeScriptsExtract<...>utility type. Additional information hereConditional.Exclude(...)Which analogs TypeScriptsExclude<...>utility type. Additional information hereType.Parameters(...)Returns the parameters of aTFunctionas aTTupleType.ReturnType(...)Returns the return type schema of aTFunctionType.ConstructorParameters(...)Returns the parameters of aTConstructoras aTTupleType.InstanceType(...)Returns the instance type schema of aTConstructor