Skip to content

Conversation

@weswigham
Copy link
Member

Fixes #59184

The error is used for a bit more than just class expressions, so I've made the message refer to anonymous class types more broadly (as in the linked issue and many tests), and I've also added a related span saying to add a type annotation on the cases where the error is issued on a variable declaration.

@weswigham weswigham merged commit 4641004 into microsoft:main Jul 11, 2024
@weswigham weswigham deleted the unwritable-privates-error branch July 11, 2024 18:05
@sandersn sandersn removed this from PR Backlog Apr 22, 2025
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't emit types for subclassed abstract class: error TS4094

3 participants