mattpocock / ts-error-translator

VSCode extension to turn TypeScript errors into plain English
https://ts-error-translator.vercel.app
2.35k stars 90 forks source link

Translation request for 2779 #313

Open AhmedBaset opened 3 weeks ago

AhmedBaset commented 3 weeks ago

Error Text

The left-hand side of an assignment expression may not be an optional property access.

Supporting Information

type Obj = {
  prop?: string
}

let obj: Obj = {}

obj?.prop ??= "Hey"
// The left-hand side of an assignment expression may not be an optional property access.