-
-
Notifications
You must be signed in to change notification settings - Fork 53
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(typescript): use Proxy instead of modifying LanguageService instance #216
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This makes the following TS plugins now compatible. 🎉 (From vuejs/language-tools#4206) |
4 tasks
Viijay-Kr
added a commit
to Viijay-Kr/typescript-cleanup-definitions
that referenced
this pull request
Jul 1, 2024
Viijay-Kr
added a commit
to Viijay-Kr/typescript-cleanup-definitions
that referenced
this pull request
Jul 1, 2024
renovate bot
referenced
this pull request
in slipmatio/logger
Jul 8, 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 | |---|---|---|---|---|---| | [@playwright/test](https://playwright.dev) ([source](https://togithub.com/microsoft/playwright)) | [`1.45.0` -> `1.45.1`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.45.0/1.45.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@playwright%2ftest/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@playwright%2ftest/1.45.0/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.45.0/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.14.9` -> `20.14.10`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.9/20.14.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.9/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.9/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.5.2` -> `5.5.3`](https://renovatebot.com/diffs/npm/typescript/5.5.2/5.5.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.5.2/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.5.2/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.3.2` -> `5.3.3`](https://renovatebot.com/diffs/npm/vite/5.3.2/5.3.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.3.2/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.3.2/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.22` -> `2.0.26`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.22/2.0.26) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.26?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.26?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.22/2.0.26?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.22/2.0.26?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>microsoft/playwright (@​playwright/test)</summary> ### [`v1.45.1`](https://togithub.com/microsoft/playwright/compare/v1.45.0...e8989f83d9801cdaadc3803b5341c601c9593947) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.0...v1.45.1) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.5.3`](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...f0e992167440686f948965e5441a918b34251886) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.3) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.3.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small533-2024-07-03-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.3.2...v5.3.3) - fix: lazily evaluate \__vite\_\_mapDeps files ([#​17602](https://togithub.com/vitejs/vite/issues/17602)) ([dafff4a](https://togithub.com/vitejs/vite/commit/dafff4a)), closes [#​17602](https://togithub.com/vitejs/vite/issues/17602) - fix(deps): update all non-major dependencies ([#​17590](https://togithub.com/vitejs/vite/issues/17590)) ([012490c](https://togithub.com/vitejs/vite/commit/012490c)), closes [#​17590](https://togithub.com/vitejs/vite/issues/17590) - fix(lib): remove pure CSS dynamic import ([#​17601](https://togithub.com/vitejs/vite/issues/17601)) ([055f1c1](https://togithub.com/vitejs/vite/commit/055f1c1)), closes [#​17601](https://togithub.com/vitejs/vite/issues/17601) - fix(proxy): replace changeOrigin changes in 5.3.0 with new rewriteWsOrigin option ([#​17563](https://togithub.com/vitejs/vite/issues/17563)) ([14c3d49](https://togithub.com/vitejs/vite/commit/14c3d49)), closes [#​17563](https://togithub.com/vitejs/vite/issues/17563) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.26`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2026-supofficialsup-2027-supinsiderssup-2024-07-04) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.24...v2.0.26) ##### Features - **language-service:** Support auto-complete for more preprocessing languages. - **language-core:** Improve type compatibility with Vue 3.5. ([#​4474](https://togithub.com/vuejs/language-tools/issues/4474)) - Thanks, [@​zhiyuanzmj](https://togithub.com/zhiyuanzmj). ##### Bug Fixes - **vscode:** Fix insider version display condition. <sup>Insiders</sup> - **language-service:** Fix `vue-twoslash-queries` not working in LSP mode. - **language-service:** Add null handling for script tag completion items. ([#​4520](https://togithub.com/vuejs/language-tools/issues/4520)) - **language-core:** Fix `any` in templates if the first checked file was not root. ([#​4526](https://togithub.com/vuejs/language-tools/issues/4526)) - Thanks, [@​daniluk4000](https://togithub.com/daniluk4000). ##### Other Changes - Upgraded Volar from `v2.4.0-alpha.2` to `v2.4.0-alpha.14`: - Fixed an issue where, when Hybrid Mode is disabled, TS support for Vue files not included in tsconfig may be missing. - Improved the consistency of `vue-tsc` and `tsc` behavior. ([#​3526](https://togithub.com/vuejs/language-tools/issues/3526)) - Fixed the `--clean` flag support for `vue-tsc`. - Updated the high-level overview mermaid diagram. - Added 'expected' and 'actually happening' sections to the bug report template. ([#​4515](https://togithub.com/vuejs/language-tools/issues/4515)) - Thanks, [@​davidmatter](https://togithub.com/davidmatter). ### [`v2.0.24`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2024-supofficialsup-2025-supinsiderssup-2024-06-30) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.22...v2.0.24) ##### Features - **vscode:** pop message box if new insiders version available <sup>insiders</sup> - **vscode:** if insiders versions information failed to fetch from GitHub, try to fetch from CDN <sup>insiders</sup> - **language-service:** better sfc-level tag name completion ([#​4506](https://togithub.com/vuejs/language-tools/issues/4506)) - Thanks [@​KermanX](https://togithub.com/KermanX) ##### Bug Fixes - **tsc:** update required volar version ([#​4498](https://togithub.com/vuejs/language-tools/issues/4498)) - Thanks [@​davidmatter](https://togithub.com/davidmatter) - **tsc:** bump peer typescript version ([#​4513](https://togithub.com/vuejs/language-tools/issues/4513)) - Thanks [@​so1ve](https://togithub.com/so1ve) ##### Refactors - **language-server:** reorganize the code structure ([#​4507](https://togithub.com/vuejs/language-tools/issues/4507)) ##### Other Changes - Upgrade Volar from `v2.3.1` to `v2.4.0-alpha.2`. - Hybrid Mode compatibility improvements with other TS plugins ([https://github.com/volarjs/volar.js/issues/216](https://togithub.com/volarjs/volar.js/issues/216)) - **docs:** add nvim-cmp integration ([#​4463](https://togithub.com/vuejs/language-tools/issues/4463)) - Thanks [@​RayGuo-ergou](https://togithub.com/RayGuo-ergou) - **docs:** update mermaid - The following extensions have been added to Hybrid Mode’s compatibility whitelist ([#​4206](https://togithub.com/vuejs/language-tools/issues/4206)): - `p42ai.refactor` - `nrwl.angular-console` - `styled-components.vscode-styled-components` - `Divlo.vscode-styled-jsx-languageserver` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/slipmatio/logger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in slipmatio/toolbelt
Jul 8, 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 | |---|---|---|---|---|---| | [@playwright/test](https://playwright.dev) ([source](https://togithub.com/microsoft/playwright)) | [`1.45.0` -> `1.45.1`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.45.0/1.45.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@playwright%2ftest/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@playwright%2ftest/1.45.0/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.45.0/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.14.9` -> `20.14.10`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.9/20.14.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.9/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.9/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.5.2` -> `5.5.3`](https://renovatebot.com/diffs/npm/typescript/5.5.2/5.5.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.5.2/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.5.2/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.3.2` -> `5.3.3`](https://renovatebot.com/diffs/npm/vite/5.3.2/5.3.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.3.2/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.3.2/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.22` -> `2.0.26`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.22/2.0.26) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.26?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.26?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.22/2.0.26?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.22/2.0.26?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>microsoft/playwright (@​playwright/test)</summary> ### [`v1.45.1`](https://togithub.com/microsoft/playwright/compare/v1.45.0...e8989f83d9801cdaadc3803b5341c601c9593947) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.0...v1.45.1) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.5.3`](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...f0e992167440686f948965e5441a918b34251886) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.3) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.3.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small533-2024-07-03-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.3.2...v5.3.3) - fix: lazily evaluate \__vite\_\_mapDeps files ([#​17602](https://togithub.com/vitejs/vite/issues/17602)) ([dafff4a](https://togithub.com/vitejs/vite/commit/dafff4a)), closes [#​17602](https://togithub.com/vitejs/vite/issues/17602) - fix(deps): update all non-major dependencies ([#​17590](https://togithub.com/vitejs/vite/issues/17590)) ([012490c](https://togithub.com/vitejs/vite/commit/012490c)), closes [#​17590](https://togithub.com/vitejs/vite/issues/17590) - fix(lib): remove pure CSS dynamic import ([#​17601](https://togithub.com/vitejs/vite/issues/17601)) ([055f1c1](https://togithub.com/vitejs/vite/commit/055f1c1)), closes [#​17601](https://togithub.com/vitejs/vite/issues/17601) - fix(proxy): replace changeOrigin changes in 5.3.0 with new rewriteWsOrigin option ([#​17563](https://togithub.com/vitejs/vite/issues/17563)) ([14c3d49](https://togithub.com/vitejs/vite/commit/14c3d49)), closes [#​17563](https://togithub.com/vitejs/vite/issues/17563) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.26`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2026-supofficialsup-2027-supinsiderssup-2024-07-04) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.24...v2.0.26) ##### Features - **language-service:** Support auto-complete for more preprocessing languages. - **language-core:** Improve type compatibility with Vue 3.5. ([#​4474](https://togithub.com/vuejs/language-tools/issues/4474)) - Thanks, [@​zhiyuanzmj](https://togithub.com/zhiyuanzmj). ##### Bug Fixes - **vscode:** Fix insider version display condition. <sup>Insiders</sup> - **language-service:** Fix `vue-twoslash-queries` not working in LSP mode. - **language-service:** Add null handling for script tag completion items. ([#​4520](https://togithub.com/vuejs/language-tools/issues/4520)) - **language-core:** Fix `any` in templates if the first checked file was not root. ([#​4526](https://togithub.com/vuejs/language-tools/issues/4526)) - Thanks, [@​daniluk4000](https://togithub.com/daniluk4000). ##### Other Changes - Upgraded Volar from `v2.4.0-alpha.2` to `v2.4.0-alpha.14`: - Fixed an issue where, when Hybrid Mode is disabled, TS support for Vue files not included in tsconfig may be missing. - Improved the consistency of `vue-tsc` and `tsc` behavior. ([#​3526](https://togithub.com/vuejs/language-tools/issues/3526)) - Fixed the `--clean` flag support for `vue-tsc`. - Updated the high-level overview mermaid diagram. - Added 'expected' and 'actually happening' sections to the bug report template. ([#​4515](https://togithub.com/vuejs/language-tools/issues/4515)) - Thanks, [@​davidmatter](https://togithub.com/davidmatter). ### [`v2.0.24`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2024-supofficialsup-2025-supinsiderssup-2024-06-30) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.22...v2.0.24) ##### Features - **vscode:** pop message box if new insiders version available <sup>insiders</sup> - **vscode:** if insiders versions information failed to fetch from GitHub, try to fetch from CDN <sup>insiders</sup> - **language-service:** better sfc-level tag name completion ([#​4506](https://togithub.com/vuejs/language-tools/issues/4506)) - Thanks [@​KermanX](https://togithub.com/KermanX) ##### Bug Fixes - **tsc:** update required volar version ([#​4498](https://togithub.com/vuejs/language-tools/issues/4498)) - Thanks [@​davidmatter](https://togithub.com/davidmatter) - **tsc:** bump peer typescript version ([#​4513](https://togithub.com/vuejs/language-tools/issues/4513)) - Thanks [@​so1ve](https://togithub.com/so1ve) ##### Refactors - **language-server:** reorganize the code structure ([#​4507](https://togithub.com/vuejs/language-tools/issues/4507)) ##### Other Changes - Upgrade Volar from `v2.3.1` to `v2.4.0-alpha.2`. - Hybrid Mode compatibility improvements with other TS plugins ([https://github.com/volarjs/volar.js/issues/216](https://togithub.com/volarjs/volar.js/issues/216)) - **docs:** add nvim-cmp integration ([#​4463](https://togithub.com/vuejs/language-tools/issues/4463)) - Thanks [@​RayGuo-ergou](https://togithub.com/RayGuo-ergou) - **docs:** update mermaid - The following extensions have been added to Hybrid Mode’s compatibility whitelist ([#​4206](https://togithub.com/vuejs/language-tools/issues/4206)): - `p42ai.refactor` - `nrwl.angular-console` - `styled-components.vscode-styled-components` - `Divlo.vscode-styled-jsx-languageserver` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/slipmatio/toolbelt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Referring to microsoft/typescript-template-language-service-decorator#31, we found that some TS plugins use Proxy but do not implement the set method, which causes the method of decorateLanguageService to override LanguageService functions to be invalid.
This PR attempts to change decorateLanguageService to use Proxy to solve this problem without requiring modification of other TS plugins to improve Volar TS plugin compatibility.
cc @volarjs/core-team, @piotrtomiak (Please let me know if you think this is potentially breaking in WebStorm.)