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

Types aren't properly loaded into environment until watcher runs #3890

Open
danielroe opened this issue Feb 15, 2024 · 0 comments
Open

Types aren't properly loaded into environment until watcher runs #3890

danielroe opened this issue Feb 15, 2024 · 0 comments

Comments

@danielroe
Copy link
Member

When starting vue-tsc or Volar, types are not fully resolved and errors can't be checked until the first watch event occurs.

Reproduction: https://stackblitz.com/edit/github-dhpjw5?file=app.vue,package.json

To reproduce, open app.vue (while vue-tsc --watch is running) and edit the file, even just adding a comment would do. (This also works if you edit or create another file in the project.)

Possibly linked? #1274

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

1 participant