Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: escape escapes in .quote() #46

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

dsherret
Copy link
Owner

@dsherret dsherret commented Mar 1, 2024

In quote(), it should escape escapes. So for example, if you provide something like:

.quote("\\u0009")

It should output:

"\\u0009"

Rather than:

"\u0009"

I'm going to do a major release for this bug because a patch might break people.

@dsherret dsherret merged commit 408d2a0 into main Mar 1, 2024
1 check passed
@dsherret dsherret deleted the fix_handle_escapes_better_in_quote branch March 1, 2024 18:37
diegohaz referenced this pull request in ariakit/ariakit Mar 10, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ts-morph](https://togithub.com/dsherret/ts-morph) | [`21.0.1` ->
`22.0.0`](https://renovatebot.com/diffs/npm/ts-morph/21.0.1/22.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ts-morph/22.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ts-morph/22.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ts-morph/21.0.1/22.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ts-morph/21.0.1/22.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dsherret/ts-morph (ts-morph)</summary>

###
[`v22.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/22.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/21.0.1...22.0.0)

#### What's Changed

- feat(BREAKING): upgrade to TypeScript 5.4 by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1516](https://togithub.com/dsherret/ts-morph/pull/1516)
- fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns
self by [@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1515](https://togithub.com/dsherret/ts-morph/pull/1515)
- feat: `Type.prototype.isAssignableTo` by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1517](https://togithub.com/dsherret/ts-morph/pull/1517)
- feat: `TypeChecker.prototype.resolveName` by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1518](https://togithub.com/dsherret/ts-morph/pull/1518)
- fix: MethodDeclarationStructure should write an asterisk isGenerator =
true by [@&#8203;ajvincent](https://togithub.com/ajvincent) in
[https://github.com/dsherret/ts-morph/pull/1502](https://togithub.com/dsherret/ts-morph/pull/1502)
- docs: fix typo in adding-source-files.md by
[@&#8203;ilirbeqirii](https://togithub.com/ilirbeqirii) in
[https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490)
- feat: ClassDeclarationStructure - support static blocks by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1520](https://togithub.com/dsherret/ts-morph/pull/1520)

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

- `.quote()` - should include newline on newline
([https://github.com/dsherret/code-block-writer/pull/47](https://togithub.com/dsherret/code-block-writer/pull/47))
- `.quote()` - escape characters were not always being escaped
([https://github.com/dsherret/code-block-writer/pull/46](https://togithub.com/dsherret/code-block-writer/pull/46))

#### New Contributors

- [@&#8203;ilirbeqirii](https://togithub.com/ilirbeqirii) made their
first contribution in
[https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490)

**Full Changelog**:
dsherret/ts-morph@21.0.1...22.0.0

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ariakit/ariakit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in ScaleLeap/selling-partner-api-sdk Apr 3, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ts-morph](https://togithub.com/dsherret/ts-morph) | [`21.0.1` ->
`22.0.0`](https://renovatebot.com/diffs/npm/ts-morph/21.0.1/22.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ts-morph/22.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ts-morph/22.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ts-morph/21.0.1/22.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ts-morph/21.0.1/22.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dsherret/ts-morph (ts-morph)</summary>

###
[`v22.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/22.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/21.0.1...22.0.0)

#### What's Changed

- feat(BREAKING): upgrade to TypeScript 5.4 by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1516](https://togithub.com/dsherret/ts-morph/pull/1516)
- fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns
self by [@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1515](https://togithub.com/dsherret/ts-morph/pull/1515)
- feat: `Type.prototype.isAssignableTo` by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1517](https://togithub.com/dsherret/ts-morph/pull/1517)
- feat: `TypeChecker.prototype.resolveName` by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1518](https://togithub.com/dsherret/ts-morph/pull/1518)
- fix: MethodDeclarationStructure should write an asterisk isGenerator =
true by [@&#8203;ajvincent](https://togithub.com/ajvincent) in
[https://github.com/dsherret/ts-morph/pull/1502](https://togithub.com/dsherret/ts-morph/pull/1502)
- docs: fix typo in adding-source-files.md by
[@&#8203;ilirbeqirii](https://togithub.com/ilirbeqirii) in
[https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490)
- feat: ClassDeclarationStructure - support static blocks by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1520](https://togithub.com/dsherret/ts-morph/pull/1520)

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

- `.quote()` - should include newline on newline
([https://github.com/dsherret/code-block-writer/pull/47](https://togithub.com/dsherret/code-block-writer/pull/47))
- `.quote()` - escape characters were not always being escaped
([https://github.com/dsherret/code-block-writer/pull/46](https://togithub.com/dsherret/code-block-writer/pull/46))

#### New Contributors

- [@&#8203;ilirbeqirii](https://togithub.com/ilirbeqirii) made their
first contribution in
[https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490)

**Full Changelog**:
dsherret/ts-morph@21.0.1...22.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekday" in timezone Etc/UTC,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ScaleLeap/selling-partner-api-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 13, 2024
##### [`v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [`v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [`v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [`v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [`v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [`v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [`v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [`v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [`v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 13, 2024
##### [`v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [`v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [`v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [`v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [`v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [`v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [`v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [`v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [`v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 13, 2024
##### [`v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [`v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [`v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [`v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [`v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [`v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [`v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [`v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [`v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 13, 2024
##### [`v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [`v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [`v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [`v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [`v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [`v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [`v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [`v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [`v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 13, 2024
##### [`v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [`v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [`v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [`v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [`v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [`v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [`v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [`v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [`v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 13, 2024
##### [`v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [`v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [`v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [`v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [`v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [`v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [`v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [`v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [`v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 13, 2024
##### [`v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [`v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [`v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [`v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [`v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [`v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [`v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [`v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [`v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 13, 2024
##### [`v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [`v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [`v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [`v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [`v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [`v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [`v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [`v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [`v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
renovate bot added a commit to mmkal/expect-type that referenced this pull request Aug 19, 2024
##### [v23.0.0](https://github.com/dsherret/ts-morph/releases/tag/23.0.0)

#### What's Changed

-   feat: ts 5.5 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1545
-   feat: Type.prototype.isBigInt and isBigIntLiteral by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1546
-   fix: handle removeDefaultImport with type only import by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1547

Now available on JSR for use in Deno: https://jsr.io/[@ts-morph/ts-morph](https://github.com/ts-morph/ts-morph)

**Full Changelog**: dsherret/ts-morph@22.0.0...23.0.0
##### [v22.0.0](https://github.com/dsherret/ts-morph/releases/tag/22.0.0)

#### What's Changed

-   feat(BREAKING): upgrade to TypeScript 5.4 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1516
-   fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1515
-   feat: `Type.prototype.isAssignableTo` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1517
-   feat: `TypeChecker.prototype.resolveName` by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1518
-   fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1502
-   docs: fix typo in adding-source-files.md by [@ilirbeqirii](https://github.com/ilirbeqirii) in dsherret/ts-morph#1490
-   feat: ClassDeclarationStructure - support static blocks by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1520

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

-   `.quote()` - should include newline on newline (dsherret/code-block-writer#47)
-   `.quote()` - escape characters were not always being escaped (dsherret/code-block-writer#46)

#### New Contributors

-   [@ilirbeqirii](https://github.com/ilirbeqirii) made their first contribution in dsherret/ts-morph#1490

**Full Changelog**: dsherret/ts-morph@21.0.1...22.0.0
##### [v21.0.1](https://github.com/dsherret/ts-morph/releases/tag/21.0.1)

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**: dsherret/ts-morph@21.0.0...21.0.1
##### [v21.0.0](https://github.com/dsherret/ts-morph/releases/tag/21.0.0)

#### What's Changed

-   feat: `ProjectOptions::defaultCompilerOptions` by [@wojpawlik](https://github.com/wojpawlik) in dsherret/ts-morph#1460
-   feat: TypeScript 5.3 dsherret/ts-morph#1476
-   feat: add interface and type literal getters & setters by [@ajvincent](https://github.com/ajvincent) in dsherret/ts-morph#1473
-   feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@kronodeus](https://github.com/kronodeus) in dsherret/ts-morph#1456
-   perf: use path.exists functions that don't throw internally when not exists dsherret/ts-morph#1478

##### Breaking Changes

-   Upgraded to TS 5.3
-   Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf).
-   Private fields are actually private (default build requires private fields).

#### New Contributors

-   [@ajvincent](https://github.com/ajvincent) made their first contribution in dsherret/ts-morph#1473

**Full Changelog**: dsherret/ts-morph@20.0.0...21.0.0
##### [v20.0.0](https://github.com/dsherret/ts-morph/releases/tag/20.0.0)

#### What's Changed

-   feat: upgrade to TypeScript 5.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1450
-   fix: support dynamic type imports in getReferencedSourceFiles() by [@lo1tuma](https://github.com/lo1tuma) in dsherret/ts-morph#1436

#### New Contributors

-   [@lo1tuma](https://github.com/lo1tuma) made their first contribution in dsherret/ts-morph#1436
-   [@kronodeus](https://github.com/kronodeus) made their first contribution in dsherret/ts-morph#1455

**Full Changelog**: dsherret/ts-morph@19.0.0...20.0.0
##### [v19.0.0](https://github.com/dsherret/ts-morph/releases/tag/19.0.0)

##### What's Changed

-   docs: add deno installation method by [@scarf005](https://github.com/scarf005) in dsherret/ts-morph#1411
-   feat: improve typing of `Type` by [@odiak](https://github.com/odiak) in dsherret/ts-morph#1408
-   feat: add IsVoid method to `Type` by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1398
-   feat: add JSDocable to ExportAssignment by [@giuseppelt](https://github.com/giuseppelt) in dsherret/ts-morph#1397
-   feat: upgrade to TS 5.1 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1415
-   fix: allow `.tranform` to work with Nodes from another parsed source file by [@ivanhofer](https://github.com/ivanhofer) in dsherret/ts-morph#1417

##### New Contributors

-   [@scarf005](https://github.com/scarf005) made their first contribution in dsherret/ts-morph#1411
-   [@odiak](https://github.com/odiak) made their first contribution in dsherret/ts-morph#1408
-   [@giuseppelt](https://github.com/giuseppelt) made their first contribution in dsherret/ts-morph#1398
-   [@ivanhofer](https://github.com/ivanhofer) made their first contribution in dsherret/ts-morph#1417

**Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0
##### [v18.0.0](https://github.com/dsherret/ts-morph/releases/tag/18.0.0)

#### What's Changed

-   docs: update transforms example to use factory by [@tobyhede](https://github.com/tobyhede) in dsherret/ts-morph#1386
-   fix: allow setType on binding patterns by [@jquense](https://github.com/jquense) in dsherret/ts-morph#1380
-   feat: upgrade to TypeScript 5.0.2 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1390

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

-   [@tobyhede](https://github.com/tobyhede) made their first contribution in dsherret/ts-morph#1386
-   [@jquense](https://github.com/jquense) made their first contribution in dsherret/ts-morph#1380

**Full Changelog**: dsherret/ts-morph@17.0.1...18.0.0
##### [v17.0.1](https://github.com/dsherret/ts-morph/releases/tag/17.0.1)

-   fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#1358](dsherret/ts-morph#1358)
##### [v17.0.0](https://github.com/dsherret/ts-morph/releases/tag/17.0.0)

##### Bug Fixes

-   getOverloads for a class method should take into account if static ([#1337](dsherret/ts-morph#1337)) ([f927d01](dsherret/ts-morph@f927d01)), closes [#1298](dsherret/ts-morph#1298)
-   ImportEqualsDeclaration should be exportable ([#1336](dsherret/ts-morph#1336)) ([7680bae](dsherret/ts-morph@7680bae))
-   named import/export specifier structures were missing isTypeOnly ([#1347](dsherret/ts-morph#1347)) ([6b88a0b](dsherret/ts-morph@6b88a0b))

##### Features

-   allow providing custom error messages to `OrThrow` methods ([#1327](dsherret/ts-morph#1327)) ([05916d3](dsherret/ts-morph@05916d3)) - Thanks [@jantimon](https://github.com/jantimon)!
-   upgrade to TS 4.9 ([#1354](dsherret/ts-morph#1354)) ([e334437](dsherret/ts-morph@e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9
mmkal referenced this pull request in mmkal/expect-type Aug 20, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ts-morph](https://togithub.com/dsherret/ts-morph) | [`16.0.0` ->
`23.0.0`](https://renovatebot.com/diffs/npm/ts-morph/16.0.0/23.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ts-morph/23.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ts-morph/23.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ts-morph/16.0.0/23.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ts-morph/16.0.0/23.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dsherret/ts-morph (ts-morph)</summary>

###
[`v23.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/23.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/22.0.0...23.0.0)

#### What's Changed

- feat: ts 5.5 by [@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1545](https://togithub.com/dsherret/ts-morph/pull/1545)
- feat: Type.prototype.isBigInt and isBigIntLiteral by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1546](https://togithub.com/dsherret/ts-morph/pull/1546)
- fix: handle removeDefaultImport with type only import by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1547](https://togithub.com/dsherret/ts-morph/pull/1547)

Now available on JSR for use in Deno:
https://jsr.io/[@&#8203;ts-morph/ts-morph](https://togithub.com/ts-morph/ts-morph)

**Full Changelog**:
dsherret/ts-morph@22.0.0...23.0.0

###
[`v22.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/22.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/21.0.1...22.0.0)

#### What's Changed

- feat(BREAKING): upgrade to TypeScript 5.4 by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1516](https://togithub.com/dsherret/ts-morph/pull/1516)
- fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns
self by [@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1515](https://togithub.com/dsherret/ts-morph/pull/1515)
- feat: `Type.prototype.isAssignableTo` by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1517](https://togithub.com/dsherret/ts-morph/pull/1517)
- feat: `TypeChecker.prototype.resolveName` by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1518](https://togithub.com/dsherret/ts-morph/pull/1518)
- fix: MethodDeclarationStructure should write an asterisk isGenerator =
true by [@&#8203;ajvincent](https://togithub.com/ajvincent) in
[https://github.com/dsherret/ts-morph/pull/1502](https://togithub.com/dsherret/ts-morph/pull/1502)
- docs: fix typo in adding-source-files.md by
[@&#8203;ilirbeqirii](https://togithub.com/ilirbeqirii) in
[https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490)
- feat: ClassDeclarationStructure - support static blocks by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1520](https://togithub.com/dsherret/ts-morph/pull/1520)

##### CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

- `.quote()` - should include newline on newline
([https://github.com/dsherret/code-block-writer/pull/47](https://togithub.com/dsherret/code-block-writer/pull/47))
- `.quote()` - escape characters were not always being escaped
([https://github.com/dsherret/code-block-writer/pull/46](https://togithub.com/dsherret/code-block-writer/pull/46))

#### New Contributors

- [@&#8203;ilirbeqirii](https://togithub.com/ilirbeqirii) made their
first contribution in
[https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490)

**Full Changelog**:
dsherret/ts-morph@21.0.1...22.0.0

###
[`v21.0.1`](https://togithub.com/dsherret/ts-morph/releases/tag/21.0.1)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/21.0.0...21.0.1)

I forgot to run a code generation script to update some code for the
21.0.0 release and only realized after. This release fixes that and also
reduces the chance of that happening in the future.

For 21.0.0 release notes, see
https://github.com/dsherret/ts-morph/releases/tag/21.0.0

**Full Changelog**:
dsherret/ts-morph@21.0.0...21.0.1

###
[`v21.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/21.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/20.0.0...21.0.0)

#### What's Changed

- feat: `ProjectOptions::defaultCompilerOptions` by
[@&#8203;wojpawlik](https://togithub.com/wojpawlik) in
[https://github.com/dsherret/ts-morph/pull/1460](https://togithub.com/dsherret/ts-morph/pull/1460)
- feat: TypeScript 5.3
[https://github.com/dsherret/ts-morph/pull/1476](https://togithub.com/dsherret/ts-morph/pull/1476)
- feat: add interface and type literal getters & setters by
[@&#8203;ajvincent](https://togithub.com/ajvincent) in
[https://github.com/dsherret/ts-morph/pull/1473](https://togithub.com/dsherret/ts-morph/pull/1473)
- feat: add wrapped method for `getShorthandAssignmentValueSymbol` to
`TypeChecker`. add convenience method for getting the value symbol on
`ShorthandPropertyAssignment`. by
[@&#8203;kronodeus](https://togithub.com/kronodeus) in
[https://github.com/dsherret/ts-morph/pull/1456](https://togithub.com/dsherret/ts-morph/pull/1456)
- perf: use path.exists functions that don't throw internally when not
exists
[https://github.com/dsherret/ts-morph/pull/1478](https://togithub.com/dsherret/ts-morph/pull/1478)

##### Breaking Changes

-   Upgraded to TS 5.3
- Underlying `@ts-morph/common` file system methods return undefined
instead of throwing when not exists (for perf).
- Private fields are actually private (default build requires private
fields).

#### New Contributors

- [@&#8203;ajvincent](https://togithub.com/ajvincent) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1473](https://togithub.com/dsherret/ts-morph/pull/1473)

**Full Changelog**:
dsherret/ts-morph@20.0.0...21.0.0

###
[`v20.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/20.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/19.0.0...20.0.0)

#### What's Changed

- feat: upgrade to TypeScript 5.2 by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1450](https://togithub.com/dsherret/ts-morph/pull/1450)
- fix: support dynamic type imports in getReferencedSourceFiles() by
[@&#8203;lo1tuma](https://togithub.com/lo1tuma) in
[https://github.com/dsherret/ts-morph/pull/1436](https://togithub.com/dsherret/ts-morph/pull/1436)

#### New Contributors

- [@&#8203;lo1tuma](https://togithub.com/lo1tuma) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1436](https://togithub.com/dsherret/ts-morph/pull/1436)
- [@&#8203;kronodeus](https://togithub.com/kronodeus) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1455](https://togithub.com/dsherret/ts-morph/pull/1455)

**Full Changelog**:
dsherret/ts-morph@19.0.0...20.0.0

###
[`v19.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/19.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/18.0.0...19.0.0)

##### What's Changed

- docs: add deno installation method by
[@&#8203;scarf005](https://togithub.com/scarf005) in
[https://github.com/dsherret/ts-morph/pull/1411](https://togithub.com/dsherret/ts-morph/pull/1411)
- feat: improve typing of `Type` by
[@&#8203;odiak](https://togithub.com/odiak) in
[https://github.com/dsherret/ts-morph/pull/1408](https://togithub.com/dsherret/ts-morph/pull/1408)
- feat: add IsVoid method to `Type` by
[@&#8203;giuseppelt](https://togithub.com/giuseppelt) in
[https://github.com/dsherret/ts-morph/pull/1398](https://togithub.com/dsherret/ts-morph/pull/1398)
- feat: add JSDocable to ExportAssignment by
[@&#8203;giuseppelt](https://togithub.com/giuseppelt) in
[https://github.com/dsherret/ts-morph/pull/1397](https://togithub.com/dsherret/ts-morph/pull/1397)
- feat: upgrade to TS 5.1 by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1415](https://togithub.com/dsherret/ts-morph/pull/1415)
- fix: allow `.tranform` to work with Nodes from another parsed source
file by [@&#8203;ivanhofer](https://togithub.com/ivanhofer) in
[https://github.com/dsherret/ts-morph/pull/1417](https://togithub.com/dsherret/ts-morph/pull/1417)

##### New Contributors

- [@&#8203;scarf005](https://togithub.com/scarf005) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1411](https://togithub.com/dsherret/ts-morph/pull/1411)
- [@&#8203;odiak](https://togithub.com/odiak) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1408](https://togithub.com/dsherret/ts-morph/pull/1408)
- [@&#8203;giuseppelt](https://togithub.com/giuseppelt) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1398](https://togithub.com/dsherret/ts-morph/pull/1398)
- [@&#8203;ivanhofer](https://togithub.com/ivanhofer) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1417](https://togithub.com/dsherret/ts-morph/pull/1417)

**Full Changelog**:
dsherret/ts-morph@18.0.0...19.0.0

###
[`v18.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/18.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/17.0.1...18.0.0)

#### What's Changed

- docs: update transforms example to use factory by
[@&#8203;tobyhede](https://togithub.com/tobyhede) in
[https://github.com/dsherret/ts-morph/pull/1386](https://togithub.com/dsherret/ts-morph/pull/1386)
- fix: allow setType on binding patterns by
[@&#8203;jquense](https://togithub.com/jquense) in
[https://github.com/dsherret/ts-morph/pull/1380](https://togithub.com/dsherret/ts-morph/pull/1380)
- feat: upgrade to TypeScript 5.0.2 by
[@&#8203;dsherret](https://togithub.com/dsherret) in
[https://github.com/dsherret/ts-morph/pull/1390](https://togithub.com/dsherret/ts-morph/pull/1390)

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

#### New Contributors

- [@&#8203;tobyhede](https://togithub.com/tobyhede) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1386](https://togithub.com/dsherret/ts-morph/pull/1386)
- [@&#8203;jquense](https://togithub.com/jquense) made their first
contribution in
[https://github.com/dsherret/ts-morph/pull/1380](https://togithub.com/dsherret/ts-morph/pull/1380)

**Full Changelog**:
dsherret/ts-morph@17.0.1...18.0.0

###
[`v17.0.1`](https://togithub.com/dsherret/ts-morph/releases/tag/17.0.1)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/17.0.0...17.0.1)

- fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true`
had no effect)
[#&#8203;1358](https://togithub.com/dsherret/ts-morph/issues/1358)

###
[`v17.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/17.0.0)

[Compare
Source](https://togithub.com/dsherret/ts-morph/compare/16.0.0...17.0.0)

##### Bug Fixes

- getOverloads for a class method should take into account if static
([#&#8203;1337](https://togithub.com/dsherret/ts-morph/issues/1337))
([f927d01](https://togithub.com/dsherret/ts-morph/commit/f927d01)),
closes
[#&#8203;1298](https://togithub.com/dsherret/ts-morph/issues/1298)
- ImportEqualsDeclaration should be exportable
([#&#8203;1336](https://togithub.com/dsherret/ts-morph/issues/1336))
([7680bae](https://togithub.com/dsherret/ts-morph/commit/7680bae))
- named import/export specifier structures were missing isTypeOnly
([#&#8203;1347](https://togithub.com/dsherret/ts-morph/issues/1347))
([6b88a0b](https://togithub.com/dsherret/ts-morph/commit/6b88a0b))

##### Features

- allow providing custom error messages to `OrThrow` methods
([#&#8203;1327](https://togithub.com/dsherret/ts-morph/issues/1327))
([05916d3](https://togithub.com/dsherret/ts-morph/commit/05916d3)) -
Thanks [@&#8203;jantimon](https://togithub.com/jantimon)!
- upgrade to TS 4.9
([#&#8203;1354](https://togithub.com/dsherret/ts-morph/issues/1354))
([e334437](https://togithub.com/dsherret/ts-morph/commit/e334437))

##### BREAKING CHANGES

-   Upgraded to TS 4.9

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/mmkal/expect-type).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM4LjI2LjEiLCJ0YXJnZXRCcmFuY2giOiJkZXBzIiwibGFiZWxzIjpbXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Misha Kaletsky <mmkal@users.noreply.github.com>
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