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

feat(typescript-plugin): expose FileRegistry to project.program #3963

Merged
merged 17 commits into from Apr 30, 2024

Conversation

zcf0508
Copy link
Contributor

@zcf0508 zcf0508 commented Mar 4, 2024

Like volarjs/volar.js#128, I need the plugin to inject FileRegistry detail into ts.program to avoid recreate program in another typescript plugin for resolve vue file.

This will share volar data to typescript plugins for more creative work.

mxsdev/ts-type-explorer@2c929fe (#45)

@johnsoncodehk johnsoncodehk merged commit b42d3c8 into vuejs:master Apr 30, 2024
3 checks passed
@johnsoncodehk
Copy link
Member

Since this is defined by Vue Language Tools, I changed __volar__ to __vue__.

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.

None yet

2 participants