Packages

ts-morph

28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed

Upgrading ts-morph From 15.1.0 to 16.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 15.1.0Latest28.0.0
  1. 15.1.0yours
  2. 16.0.0target
4
changes to make
0
advisories fixed
3
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking16.0.0
  • Breaking16.0.0
  • Breaking16.0.0
  • Breaking16.0.0

Release by release

  1. 16.0.0

    Migration needed3 Sep 20223 new
    • Breaking

      Upgraded to TS 4.8

    • Breaking

      Decorators are now modifiers due to TS 4.8

    • Breaking

      ts.createX functions seem almost completely deprecated in TS 4.8, so make sure to update your code to use the traversal.context.createX functions instead

    • Breaking

      Type#isArray() returns true for readonly arrays

    • New

      Add Type#isNever() (ac0db0d), closes #1303

    • New

      Add Type#isReadonlyArray() and Type#isArray() also includes readonly arrays (f1d5c43), closes #1306 #1305

    • New

      Upgrade to TS 4.8

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.