Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Why is vscode highlighting my type annotations?

I’m building a simple components with TS/React. I’m finding VSCode is highlighting my type annotations.

A typescript component with highlighted type annotations

In the problems panel I see:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Type annotation information

They are neither warnings nor errors but they are causing a lot of visual noise.

Why am I seeing these? How do I make them go away?

>Solution :

As said by Geoffrey and Nicholas, you are using total-typescript VS Code extension, which displays hints for you to learn Typescript. You can hide these hints by marking them as learned.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading