intellisense isn't working as expected with @typedef and @type
See original GitHub issueInfo
- Platform: macOS
- Vetur version: 1.38.1
- VS Code version: 0.22.4
Problem
I’m trying to use @typedef
and @type
in my components but Intellisense always shows the prop as any
:
Reproducible Case
Beyond checking with a colleague if he sees the same behaviour, which he does, I’m not sure how to reproduce this.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
VScode c/c++ addon gives error to "typedef unsigned _ExtInt ...
So, I have this ubuntu20.04 on wsl with vscode running on it. ... expected a type specifier at FPBITS and expected a ';'...
Read more >C++ Intellisense fails to correctly recognize a typedef when it's ...
I use Visual Studio integrated development environment (IDE), I'm developing a C ++ language code. Placing the text cursor on a variable,there are...
Read more >Visual Studio False Build Errors - Microsoft Q&A
I am working on a C++ project and am having trouble with false build errors. This used to happen every once in a...
Read more >IntelliJ does not recognize typedef in JSDoc - YouTrack
The Article type is not recognized as a valid type even though the article definition is valid and declared right above. Furthermore, IntelliJ...
Read more >The IntelliSense feature does not work for the ...
When you use the IXMLDOMDocumentPtr smart pointer in the code that is generated when you import the Mmsxml4.dll file in your project in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We can improve documentation with it I guess.
Since Vetur uses TypeScript feature to provide intellisense, we need to declare the extra option type in that case.
https://vuejs.org/v2/guide/typescript.html#Augmenting-Types-for-Use-with-Plugins