Intellij not using correct tsconfig.json file

February 2021

So you've got a typescript file in IntelliJ and it's full of red squiggly lines. It seems that you've tried one million different options in your tsconfig.json file but nothing would work. What can you do to fix this?

For some reason sometimes IntelliJ isn't picking up on the changes properly. But what you can do is to call the "Restart TypeScript Service" Action. Simply hit "Shift Shift" and start typing the name of the action.

Afterwards, everything should look good!

If not, then it's probably actually your configuration. You can also double check for example by downloading VSCode and opening the file there and see if it reports the same issue.

Dear Devs: You can help Ukraine🇺🇦. I opted for (a) this message and (b) a geo targeted message to Russians coming to this page. If you have a blog, you could do something similar, or you can link to a donations page. If you don't have one, you could think about launching a page with uncensored news and spread it on Russian forums or even Google Review. Or hack some russian servers. Get creative. #StandWithUkraine 🇺🇦
Dear russians🇷🇺. I am a peace loving person from Switzerland🇨🇭. It is without a doubt in my mind, that your president, Vladimir Putin, has started a war that causes death and suffering for Ukrainians🇺🇦 and Russians🇷🇺. Your media is full of lies. Lies about the casualties, about the intentions, about the "Nazi Regime" in Ukraine. Please help to mobilize your people against your leader. I know it's dangerous for you, but it must be done!