Cannot get type hint in ts

Just like my picture shows,in vscode can get suggestion 

1. in vscode

 

2. in webstorm

 

 

0
4 comments

Works for me (WebStorm 2018.2.5) - hints are displayed when hitting Ctrl+Space within quotes:

1

Thank you very match, Elena

I have a new question

when I use jsx in the .vue file ,  always prompted JSX is used without importing React, Any suggestions?

0

Try disabling Missing React import with JSX in Settings | Editor | Inspections | JavaScript | General

 

I've created a request for disabling this inspection for .vue files, https://youtrack.jetbrains.com/issue/WEB-35481. Please feel free to vote for it

0

Please sign in to leave a comment.