Skip to content

Remove Promise.try error suppression directives - #64512

Draft
Daniel Rosenwasser (DanielRosenwasser) with Copilot wants to merge 2 commits into
mainfrom
copilot/remove-ts-expect-error-comments
Draft

Daniel Rosenwasser (DanielRosenwasser) with Copilot wants to merge 2 commits into
mainfrom
copilot/remove-ts-expect-error-comments

Conversation

Copilot AI commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

promiseTry.ts suppressed the argument-count diagnostics it is intended to cover.

  • Test coverage
    • Remove four @ts-expect-error directives.
    • Add the diagnostic baseline for invalid Promise.try arities.
    • Update emit, type, and symbol baselines for removed comments.

Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove ts-expect-error comments from promiseTry.ts Remove Promise.try error suppression directives Sep 28, 2026

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

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove ts-expect-error comments from promiseTry.ts

2 participants