Skip to content

fix: treat properties the checker flags readonly as readonly in isPropertyReadonlyInType - #1059

Draft
JoshuaKGoldberg wants to merge 1 commit into
mainfrom
fix/readonly-check-flag-properties
Draft

JoshuaKGoldberg wants to merge 1 commit into
mainfrom
fix/readonly-check-flag-properties

Conversation

@JoshuaKGoldberg

@JoshuaKGoldberg JoshuaKGoldberg commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

PR Checklist

Overview

isPropertyReadonlyInType now treats transient properties flagged with CheckFlags.Readonly as readonly, such as those of a spread object asserted as const.

…in isPropertyReadonlyInType

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

🐛 Bug: isPropertyReadonlyInType misses properties of a spread object asserted as const

1 participant