Packages

ts-morph

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

Your version

16.0.0

major3 Sep 2022Where it was published

In short

4 breaking3 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

Release note

Features

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

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

  • Upgrade to TS 4.8

Breaking changes

  • 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

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.