IntelliJ incorrectly showing TypeScript nullish coalescing `??` as a syntax error Follow
Answered
IDE shows this:
This syntax is fine, it should not be an error. TypeScript does not report an error:
Please sign in to leave a comment.
What is the IntelliJ IDEA version? We support nullish coalescing since IntelliJ IDEA 2019.3. See https://youtrack.jetbrains.com/issue/WEB-41494 for details.
Oops... before I posted here I ran "Check for Updates" and installed and restarted, and assumed I was up to date. Somehow I wasn't. It's working now, thanks!