-
Notifications
You must be signed in to change notification settings - Fork 74
feat: add support for TypeScript 5.x #211
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
Conversation
9792959
to
b515389
Compare
}, | ||
}); | ||
|
||
const languageService = createLanguageService(languageServiceHostProxy); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be using the ts parameter? If tsserver is run via VS Code, it may not match the version in node_modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Generally I'd suggest type
importing only for plugins to avoid this mismatch)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, you probably only want to import from tsserverlibrary, as it's a different bundle entirely.
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript-plugin-css-modules](https://togithub.com/mrmckeb/typescript-plugin-css-modules) | [`4.2.3` -> `5.0.0`](https://renovatebot.com/diffs/npm/typescript-plugin-css-modules/4.2.3/5.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mrmckeb/typescript-plugin-css-modules</summary> ### [`v5.0.0`](https://togithub.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v5.0.0) [Compare Source](https://togithub.com/mrmckeb/typescript-plugin-css-modules/compare/v4.2.3...v5.0.0) **Breaking changes:** - TypeScript 4.x is now the minimum supported version ([@​mrmckeb](https://togithub.com/mrmckeb), [https://github.com/mrmckeb/typescript-plugin-css-modules/pull/211](https://togithub.com/mrmckeb/typescript-plugin-css-modules/pull/211)). **New features:** - Added support for TypeScript 5.x ([@​mrmckeb](https://togithub.com/mrmckeb), [https://github.com/mrmckeb/typescript-plugin-css-modules/pull/211](https://togithub.com/mrmckeb/typescript-plugin-css-modules/pull/211)). **Bug fixes:** - Fixed use of non-init provided TypeScript lib and move to consistent `server` imports ([@​jakebailey](https://togithub.com/jakebailey), [https://github.com/mrmckeb/typescript-plugin-css-modules/pull/213](https://togithub.com/mrmckeb/typescript-plugin-css-modules/pull/213)). **New contributors:** - [@​jakebailey](https://togithub.com/jakebailey) made their first contribution in [https://github.com/mrmckeb/typescript-plugin-css-modules/pull/213](https://togithub.com/mrmckeb/typescript-plugin-css-modules/pull/213). **Full changelog:** mrmckeb/typescript-plugin-css-modules@v4.2.3...v5.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://app.renovatebot.com/dashboard#github/arrow-kt/arrow-website). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNC4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTQuMiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR adds support for TypeScript 5.x.
Once merged, this will be released as a beta for further testing.