Skip to content

Conversation

@weswigham
Copy link
Member

Including those made via mapping and those made via (readonly-stripping) spreading (anywhere we set a syntheticOrigin on the symbol to indicate the original declaration site).

Fixes #42103

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jan 4, 2021
@weswigham weswigham merged commit 72dfc58 into microsoft:master Jan 4, 2021
@weswigham weswigham deleted the readonly-computed-declaration branch January 4, 2021 23:50
Zzzen pushed a commit to Zzzen/TypeScript that referenced this pull request Jan 16, 2021
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 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.

readonly modifier on symbol properties causes wrong declarations instead of compilation error

3 participants