Releases: unional/type-plus
Releases · unional/type-plus
v6.7.1
v6.7.0
v6.6.0
v6.5.0
v6.4.0
Minor Changes
-
bcc4b09: Adding a new set of types for type-level programming.
IsAnyOrNever
AnyType
,IsAny
,NotAnyType
,IsNotAny
NeverType
,IsNever
,NotNeverType
,IsNotNever
StrictBooleanType
,IsStrictBoolean
,NotStrictBooleanType
,IsNotStrictBoolean
BooleanType
,NotBooleanType
,IsNotBoolean
TrueType
,IsTrue
,NotTrueType
,IsNotTrue
FalseType
,IsFalse
,NotFalseType
,IsNotFalse
ObjectType
,IsObject
,NotObjectType
,IsNotObject
StrictFunctionType
,IsStrictFunction
,NotStrictFunctionType
,IsNotStrictFunction
FunctionType
,IsFunction
,NotFunctionType
,IsNotFunction
UndefinedType
,IsUndefined
,NotUndefinedType
,IsNotUndefined
NumberType
,IsNumber
,NotNumberType
,IsNotNumber
StrictNumberType
,IsStrictNumber
,NotStrictNumberType
,IsNotStrictNumber
StringType
,IsString
,NotStringType
,IsNotString
StrictStringType
,IsStrictString
,NotStrictStringType
,IsNotStrictString
SymbolType
,IsSymbol
,NotSymbolType
,IsNotSymbol
BigIntType
,IsBigInt
,NotBigIntType
,IsNotBigInt
StrictBigIntType
,IsStrictBigInt
,NotStrictBigIntType
,IsNotStrictBigInt
VoidType
,IsVoid
,NotVoidType
,IsNotVoid
UnknownType
,IsUnknown
,NotUnknownType
,IsNotUnknown
Positive
,IsPositive
,NotPositive
,IsNotPositive
Adding a new
testType
for testing.
It provides better testing support compares toisType
andassertType
.Improve:
Equal
: to support all known scenarios.
v6.3.0
v6.2.0
v6.1.0
Minor Changes
-
b640352: Add
ArrayType<A>
-
569ff77: Export
Concat
underArrayPlus
. -
15257ec: Add
ArrayPlus.IsIndexOutOfBound<A, N>
-
82bed0e: Add
ArrayPlus.IndexAt
.Update
At
to useIndexAt
to get consistent results. -
015d046: Fix
IsAny
and add toAnyType
.
Now using the same mechanism fromts-essentials
. -
3ff303c: Add
NumberType<T>
Patch Changes
v6.0.0
Major Changes
- 3a01eb6: CJS target upgraded to ES2020
Minor Changes
-
35b489d: Add the following:
isType.never
Numeric
Zero
Integer
Negative
NonNegative
NumberPlus.Numeric
NumberPlus.Zero
NumberPlus.Integer
NumberPlus.Negative
NumberPlus.NonNegative
At
ArrayPlus.At
ArrayPlus.Concat
Patch Changes
- 33b78a7: Add
module
field forwebpack
4 compatibility.