tsutils
Advanced tools
Changelog
2.23.0
Features:
isForInOrOfStatement
Bugfixes:
<MyComponent<string>/*comment*/></MyComponent>
<div><br/>/*no comment*/</div>
Changelog
2.22.2
Bugfixes:
collectVariableUsage
: handle ConditionalTypes and infer T
, which will be introduced in TypeScript@2.8.0 and are already available in nightly buildsisLiteralType
no longer returns true for ts.TypeFlags.BooleanLiteral
as this is not a ts.LiteralType
Changelog
2.22.1
Bugfixes:
endsControlFlow
:
Changelog
2.21.0
Bugfixes:
forEachDeclaredVariable
uses a more precise type for the callback parameter to make it useable again with typescript@2.7.1Features:
isUniqueESSymbolType
typeguardChangelog
2.19.1
Bugfixes:
forEachComment
, getCommentAtPosition
and isPositionInComment
: skip shebang (#! something
) to not miss following comments at the start of the file