Skip to content

Update dependency ts-morph to v28#272

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ts-morph-28.x
Open

Update dependency ts-morph to v28#272
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ts-morph-28.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 12, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Diffend
ts-morph ^27.0.2^28.0.0 age adoption passing confidence Diff

Release Notes

dsherret/ts-morph (ts-morph)

v28.0.0

Compare Source

What's Changed

Note there are some breaking changes due to TypeScript 6.0. Read more here: https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/

As part of this release, structures can now be printed to a string using the printStructure function.

import { printStructure, StructureKind } from "ts-morph";

const code = printStructure({
  kind: StructureKind.Class,
  name: "MyClass",
  isExported: true,
  properties: [{ name: "myProp", type: "string" }],
  methods: [{
    name: "myMethod",
    parameters: [{ name: "param", type: "number" }],
    returnType: "void",
  }],
});
console.log(code);

Outputs:

export class MyClass {
  myProp: string;

  myMethod(param: number): void {
  }
}

New Contributors

Full Changelog: dsherret/ts-morph@27.0.2...28.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies This updates dependency files label Apr 12, 2026
@renovate renovate bot added the dependencies This updates dependency files label Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies This updates dependency files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant