Releases
13.0.0
Bug Fixes
Do not throw an error if decorator expr is wrapped in a paren expr (c77db30 ), closes #1214
Code Refactoring
Node.isXNode(node)
static type guard methods are now Node.isX(node)
(e5bcba9 ), closes #1166
Remove already deprecated WriterFunctions
and TypeGuards
exports. (be87373 )
Features
Add AssertClause
and AssertEntry
(#1224 ) (bcf694f )
Add Node.hasStructure
type guard. (0f7d9be )
Change readDirSync
to return directory entries instead of file paths (f22a50d )
Make Structure.isX
function more flexible (a54dd69 ), closes #1219
Type only methods for ImportSpecifier
and ExportSpecifier
(e93c96e )
TypeScript 4.5 support (#1220 ) (526e0dd )
Wrap more JS doc nodes (5107999 )
BREAKING CHANGES
Node.isXNode(node)
-like static type guard methods are now Node.isX(node)
to reduce verbosity.
Targeting ES2018 instead of ES2015
Upgraded to TS 4.5
Removed already deprecated WriterFunctions
and TypeGuards
exports. Use Writers
and Node
instead.
readDirSync
now returns directory entries.
You can’t perform that action at this time.