JetBrains repro https://youtrack.jetbrains.com/issue/WEB-63627 Open this project Run npm install Configure prettier like this: Create a new typescript scratch Enter some ts code Run action "reformat with prettier"