Answer the question
In order to leave comments, you need to log in
How to fix false syntax error in webstorm?
When I try to use dynamic import in Webshtorm, I get a syntax error - Unterminated statement
Although, syntactically everything is written correctly. Proof - https://webpack.js.org/guides/code-splitting/#dyna...
Who knows how to fix it?
Answer the question
In order to leave comments, you need to log in
Write in one line or add curly braces?
UPD: If the syntax is correct and the problem is in the IDE , then you should either update the type definitions, or switch the language / standards version, or simply update the software.
WebStorm 2017.3 EAP, 173.2941
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question