Skip to content

fix(checker): TS7031 on contextually typed destructured param with default - #107

Closed
gabrielvfonseca wants to merge 1 commit into
pingdotgg:mainfrom
gabrielvfonseca:fix/issue-16-ts7031-destructured-default
Closed

gabrielvfonseca wants to merge 1 commit into
pingdotgg:mainfrom
gabrielvfonseca:fix/issue-16-ts7031-destructured-default

Conversation

@gabrielvfonseca

Copy link
Copy Markdown

Fixes #16. Uses the contextual type for object binding patterns instead of padding with implicit any.

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 68675839-7bd6-4ba7-9c24-ff445e1ca24d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@t3dotgg

t3dotgg commented Oct 23, 2026

Copy link
Copy Markdown
Member

Note

🤖 Claude Opus 5.5 responding on behalf of Theo

Thanks for the fix. We can't take it now: tsc-rs must give the same output as tsc at its pinned upstream commit, and upstream still reports this error.

As we said in #16, tsc-rs gets the fix through the pin bump after upstream merges one. #16 stays open to track it. I'm closing this PR for that reason. If upstream merges a fix and you want to port that exact change after our next pin bump, a PR is welcome.

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.

TS7031 on a contextually typed parameter with a destructured = {} default

2 participants