Releases: ajafff/tsutils
Releases · ajafff/tsutils
v2.28.0
Typeguards are now split into multiple submodules for each version of TypeScript (starting with 2.8.0).
That means you can now import directly from "tsutils/typeguard/2.8"
to get compatible declaraton files for [email protected].
For more information please read the relevant section in README.md.
Features:
- added typeguards:
isTupleType
,isOptionalTypeNode
,isRestTypeNode
,isSyntheticExpression
(currently available from"tsutils/typeguard/3.0"
) - added utility
isStrictCompilerOptionEnabled
v2.27.2
Avoid crash caused by removed function in [email protected]
.
v2.27.1
Added support for [email protected] nightly builds.
v2.27.0
v2.26.2
v2.26.1
v2.26.0
v2.25.1
Bugfixes:
collectVariableUsage
: fixed name lookup in function signatures to match runtime behavior. Note that this is not completely fixed in TypeScript, yet. See: Microsoft/TypeScript#22825 and Microsoft/TypeScript#22769
v2.25.0
v2.24.0
Features:
- added typeguards for [email protected]:
isConditionalTypeNode
,isInferTypeNode
,isConditionalType
,isInstantiableType
,isSubstitutionType