Closed
Description
Version
3.1.1
Reproduction link
https://github.com/jods4/volar-starter/tree/issue-260
Steps to reproduce
Expose a ComputedRef<number> | undefined
to a template.
Look a the type of that variable in template (e.g. with Volar)
What is expected?
The variable should be typed as number | undefined
because of automatic unwrapping.
What is actually happening?
It's still ComputedRef<number> | number
See original issue at vuejs/language-tools#260 for full context
Metadata
Metadata
Assignees
Labels
No labels