0

I'm editing a Flow file. But VS Code recognises some of the syntax, and thinks it's TypeScript that should be in a TypeScript (.ts) file. As a result, the file is full of red wiggly line source annotations.

enter image description here

What do I have to get VS Code to stop trying to typecheck my files as TypeScript?

I'm not sure if what I'm seeing is an extension or some built in behaviour.

(I do want TypeScript checking in other projects - just not this folder.)

2
  • You can try excluding this file in tsconfig.json in the exclude section. Commented Dec 6, 2024 at 5:53
  • Thanks, I tried that, it didn't work. This worked: stackoverflow.com/questions/42632215/… Commented Dec 6, 2024 at 5:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.