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

TypeScript 5.3.x incompatibility: TypeError: ts.getResolvedModule is not a function #49

Closed
ben-polinsky opened this issue Dec 20, 2023 · 1 comment
Assignees

Comments

@ben-polinsky
Copy link
Collaborator

This library is unusable with TypeScript 5.3.x:

TypeError: ts.getResolvedModule is not a function

TypeScript has moved the ts.getResolvedModule method to an internal API available off the program object.

To reproduce:

Upgrade TypeScript to 5.3.x in any project consuming this library, then run eslint.

References:

microsoft/rushstack#4404 (comment)

https://github.com/microsoft/TypeScript/pull/55818/files#diff-dbfa0e7f632eca196a5ee0e08e00743c46c03799e2704206cfccc065bb6f9e3a

GerardasB added a commit to iTwin/appui that referenced this issue Jan 24, 2024
GerardasB added a commit to iTwin/appui that referenced this issue Jan 29, 2024
* Bump pnpmVersion

* rush update --full --purge

* rush update-autoinstaller --name rush-lintstaged

* rush update --full --purge --variant core-3x

* Ignore log files in .gitignore

* Fix linter errors.

* rush change

* Use pnpm audit instead of audit.js script

* Lock TS version due to iTwin/eslint-plugin#49

* Update visual snapshots.

* rush extract-api
@anmolshres98
Copy link
Contributor

Fixed by #51

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

No branches or pull requests

3 participants