Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: support type inference for function parameters #15034

Open
eyalroth opened this issue Apr 24, 2024 · 2 comments
Open

[Feature]: support type inference for function parameters #15034

eyalroth opened this issue Apr 24, 2024 · 2 comments

Comments

@eyalroth
Copy link

馃殌 Feature Proposal

This is identical to #13267, which was implemented in https://github.com/jestjs/jest/releases/tag/v29.1.0 (#13268), but was soon reverted in https://github.com/jestjs/jest/releases/tag/v29.1.2.

So in fact, the feature remains unimplemented.

Motivation

Faster detection of broken function signatures + allow IDEs to auto rename the test parameters when renaming the original function parameters.

Example

No response

Pitch

Seeing that this feature request was opened here in the past, I assume it fits here still.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label May 24, 2024
@SimenB
Copy link
Member

SimenB commented May 24, 2024

PR very much welcome - as noted in #13339 there are some regression tests added, so hopefully we won't have the same problems.

@github-actions github-actions bot removed the Stale label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants