Publish
This commit is contained in:
10
changelog/0.24.15.md
Normal file
10
changelog/0.24.15.md
Normal file
@@ -0,0 +1,10 @@
|
||||
## [0.24.15](https://www.npmjs.com/package/@sinclair/typebox/v/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](https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union)
|
||||
- `Conditional.Exclude(...)` Which analogs TypeScripts `Exclude<...>` utility type. Additional information [here](https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers)
|
||||
- `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`
|
||||
Reference in New Issue
Block a user