Skip to content

fix(deps): update dependency ts-morph to v28 - #359

Merged
gadievron merged 1 commit into
masterfrom
renovate/ts-morph-28.x
Aug 28, 2026
Merged

fix(deps): update dependency ts-morph to v28#359
gadievron merged 1 commit into
masterfrom
renovate/ts-morph-28.x

Conversation

@knostic-renovate

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
ts-morph dependencies major ^27.0.2 -> ^28.0.0

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: 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 has been generated by Renovate Bot.

@gadievron
gadievron merged commit 1f6de72 into master Aug 28, 2026
17 checks passed
@knostic-renovate
knostic-renovate Bot deleted the renovate/ts-morph-28.x branch August 28, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant