morizotter
morizotter

Reputation: 1974

Visual Studio Code with ES6

enter image description here

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

Answers (2)

kombucha
kombucha

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

Jagz
Jagz

Reputation: 9

Those wavy red lines are errors. You can either see what is the type of error in console

Upvotes: 0

Related Questions