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

when using <script lang="ts" src="./index">, it reports error with "can't find name "XXX" #1019

Closed
xxx-runj opened this issue Mar 9, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@xxx-runj
Copy link

xxx-runj commented Mar 9, 2022

I installed Volar in VsCode, and when I using <script lang="ts" src="./index">, It keeps getting an error here : can't find name "XXX". This will not disappear unless I reload VsCode, but once I write a new variable,it comes again.
image

image

@johnsoncodehk
Copy link
Member

Duplicate of #565

@johnsoncodehk johnsoncodehk marked this as a duplicate of #565 Mar 9, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants