After adding lines that were described here I still received an error.
I dig somewhere that in fact you need to delete some of them.
For me it was failing when I had a config:
"compilerOptions": {
....
"module": "es2022",
"lib": [
"esnext",
"esnext.asynciterable"
],
"allowSyntheticDefaultImports": true
},
I need to remove lines:
"esnext.asynciterable"
"allowSyntheticDefaultImports": true
Then command added back the missing items and succed.