Reputation: 1974
Sorry if this is a basic question. My VSCode shows wavy line if I use type annotation. Do you know how to avoid this?
Upvotes: 1
Views: 369
Reputation: 1424
Type annotations are not part of ecmascript 6, it seems like you're using Flow syntax.
There are extensions for Visual Studio Code to support this syntax.
Upvotes: 4
Reputation: 9
Those wavy red lines are errors. You can either see what is the type of error in console
Upvotes: 0