Changelog
2.18.0
Features:
getControlFlowEnd
accepts BlockLike as argumentBugfixes:
getControlFlowEnd
and endsControlFlow
: correctly handle nested LabeledStatementsendsControlFlow
removed erroneous special case when an IterationStatement is passed as argument whose parent is a LabeledStatement.
Deprecations:
getControlFlowEnd
that contains the label
parameter. This parameter is no longer used and should no longer be passed to the function.Changelog
2.17.1
Bugfixes:
getControlFlowEnd
and endsControlFlow
(#22)
try
are filtered out if there is a catch
clausecatch
only end control flow if try
AND catch
definitely end control flowChangelog
2.15.0
Features:
convertAst
utility to produce a flattened and wrapped version of the ASTChangelog
2.13.0
Features:
JsxFragment
introduced in typescript@2.6.2Changelog
2.12.2
Bugfixes:
endsControlFlow
break
and continue
with labelsisValidIdentifier
and isValidNumericLiteral
handle irregular whitespacefindImports
searches in ambient modules inside regular .ts
files (not only .d.ts
)canHaveJsDoc
is now a typeguard