Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation request for 2779 #313

Open
AhmedBaset opened this issue Jun 23, 2024 · 0 comments
Open

Translation request for 2779 #313

AhmedBaset opened this issue Jun 23, 2024 · 0 comments

Comments

@AhmedBaset
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant