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