Skip to content

15.0.0

Choose a tag to compare

@dsherret dsherret released this 24 May 22:42
· 113 commits to latest since this release

Bug Fixes

  • transform() - ensure comments on nodes with only added synthetic leading comments show up in output (abc840d), closes #1273
  • ensure leading and trailing trivia for overloads ends up in output (0d043b5), closes #1244
  • common: deleting directories didn't work on Node (163de40), closes #1249
  • handle undefined in comment node type guards (#1275) (452cff3)
  • transform should take into account the node changing kinds (75c4a75), closes #1248

Features

  • add Node#isKind(kind) type guard (#1271) (79ab80f)
  • add factory property to traversal control (d4c5a35)
  • add helper properties on TemplateLiteralTypeNode. (1a8de49), closes #1266
  • upgrade to TypeScript 4.7 (#1281) (ae797d8)

BREAKING CHANGES

  • transform now returns a Node instead of this because the returned node could be the replaced node.
  • Upgraded to TS 4.7. Please review changes to typescript.d.ts in #1281.