v1.0.1
Changelog
- cffad1b Added support for unnamed type constraints.
type UnionConstraint[T string | int64] struct {
Value T
}export interface UnionConstraint<T extends string | number> {
readonly Value: T;
}type UnionConstraint[T string | int64] struct {
Value T
}export interface UnionConstraint<T extends string | number> {
readonly Value: T;
}