Home > Net >  How do I configure Intellij to allow node import assertions?
How do I configure Intellij to allow node import assertions?

Time:02-16

I have the following code...

enter image description here

It compiles and functions just fine with the --experimental-json-modules flag but it still shows the following error on the red tilda...

enter image description here

I am already configured to use ECMAScript6 so what else do I need?

CodePudding user response:

Import assertions proposal is supported since version 2021.3, see WEB-52552; please consider upgrading IDEA to the most recent version

  • Related