We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v-for
Vetur: Restart VLS
Platform: Linux
Vetur version: 0.35.0
VS Code version: 1.63.2
Typescript version: ^3.5.3 (pkg.json), 3.9.10 (yarn.lock)
"vue": "^2.6.10", 2.6.14 (yarn.lock)
"vue-class-component": "^6.3.2", 6.3.2 (yarn.lock)
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
no vetur error message, just getting incorrect warnings on a narrowed type.
Play-by-play:
token
marked.Token
token.type === 'paragraph'
marked.Tokens.Paragraph
n/a. Can attempt at a later date if necessary.
The text was updated successfully, but these errors were encountered:
Please provide a repro case. https://github.com/vuejs/vetur/blob/master/.github/NO_REPRO_CASE.md
Sorry, something went wrong.
No branches or pull requests
Vetur: Restart VLS
Info
Platform: Linux
Vetur version: 0.35.0
VS Code version: 1.63.2
Typescript version: ^3.5.3 (pkg.json), 3.9.10 (yarn.lock)
"vue": "^2.6.10", 2.6.14 (yarn.lock)
"vue-class-component": "^6.3.2", 6.3.2 (yarn.lock)
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
Problem
no vetur error message, just getting incorrect warnings on a narrowed type.
Play-by-play:
token
is amarked.Token
, which is a discriminated union type of ... tokens.token.type === 'paragraph'
narrows the type tomarked.Tokens.Paragraph
Reproducible Case
n/a. Can attempt at a later date if necessary.
The text was updated successfully, but these errors were encountered: