Skip to content

add fourslash test for declare missing method quickfix (#37782)#62949

Closed
oppong07 wants to merge 1 commit intomicrosoft:mainfrom
oppong07:feat/37782-declare-method-quick-fix
Closed

add fourslash test for declare missing method quickfix (#37782)#62949
oppong07 wants to merge 1 commit intomicrosoft:mainfrom
oppong07:feat/37782-declare-method-quick-fix

Conversation

@oppong07
Copy link

@oppong07 oppong07 commented Jan 4, 2026

This PR adds a fourslash test that verifies the quick fix for declaring a missing private method on a class.

Summary

tests: add tests/cases/fourslash/codeFixAddMissingMethod.ts to exercise the missing-method quick fix.
No runtime code changes — the implementation already exists in src/services/codefixes/fixAddMissingMember.ts.
How to run locally

npx hereby runtests --tests=codeFixAddMissingMethod

Checklist

There is an associated issue in the Backlog milestone
Code is up-to-date with main
I've run tests locally: npx hereby runtests --tests=codeFixAddMissingMethod
New unit test added
Fixes #37782

)

test(codefix): add fourslash test for declare missing method quickfix (microsoft#37782)
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Jan 4, 2026
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jan 4, 2026
@oppong07
Copy link
Author

oppong07 commented Jan 4, 2026

@microsoft-github-policy-service agree

@typescript-bot
Copy link
Collaborator

With 6.0 out as the final release vehicle for this codebase, we're closing all PRs that don't fit the merge criteria for post-6.0 patches. If you think this was a mistake and this PR fits the post-6.0 patch criteria, please post to the 6.0 iteration issue with details (specifically, which PR and which patch criteria it satisfies).

Next steps for PRs:

  • For crash bugfixes or language service improvements, PRs are currently accepted at the typescript-go repo
  • Changes to type system behavior should wait until after 7.0, at which point mainline TypeScript development will resume in this repository with the Go codebase
  • Library file updates (lib.d.ts etc) continue to live in this repo or the DOM Generator repo as appropriate

@github-project-automation github-project-automation bot moved this from Not started to Done in PR Backlog Mar 24, 2026
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

Status: Done

Development

Successfully merging this pull request may close these issues.

'declare method' quick fix for adding a private method

2 participants