Skip to content

feat(typescript): expose FileRegistry in proxyCreateProgram()#128

Merged
johnsoncodehk merged 3 commits intovolarjs:masterfrom
zcf0508:feat/expose-file-registry
Feb 4, 2024
Merged

feat(typescript): expose FileRegistry in proxyCreateProgram()#128
johnsoncodehk merged 3 commits intovolarjs:masterfrom
zcf0508:feat/expose-file-registry

Conversation

@zcf0508
Copy link
Contributor

@zcf0508 zcf0508 commented Jan 29, 2024

@johnsoncodehk
Copy link
Member

Since this was not the intended use case, I just changed it to be exposed in the internal __volar__ property.

On the other hand, Vue Langauge Tools 2.0 will be migrated to the TS plugin, and ts-type-explorer seems to be based on the TS plugin as well, so it may not need access to Volar's internal API to support this. You might consider using the extension install package from vuejs/language-tools#3789 or the repo master branch to try this out.

@johnsoncodehk johnsoncodehk changed the title feat: expose FileRegistry feat(typescript): expose FileRegistry in proxyCreateProgram() Feb 4, 2024
@johnsoncodehk johnsoncodehk merged commit 780fdd1 into volarjs:master Feb 4, 2024
@johnsoncodehk johnsoncodehk linked an issue Feb 5, 2024 that may be closed by this pull request
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.

[Feature Request] exposing the FileRegistry in 2.0

2 participants