-
Notifications
You must be signed in to change notification settings - Fork 50.1k
refactor: change react promise status type #31623
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: change react promise status type #31623
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
0847985 to
bde002b
Compare
bde002b to
fc5dcd6
Compare
fc5dcd6 to
4c57b79
Compare
4c57b79 to
0d2be62
Compare
0d2be62 to
d77e663
Compare
d77e663 to
c278617
Compare
c278617 to
3e74f71
Compare
3e74f71 to
b2d641d
Compare
b2d641d to
5df7c59
Compare
5df7c59 to
ace114a
Compare
ace114a to
7c88343
Compare
|
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated. |
|
Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you! |
Issue #31467
Summary
This PR standardizes the use of predefined types for the ReactPromise function's status field. Currently, it accepts any type for the status field, which reduces code readability and prevents proper autocompletion.
How did you test this change?
I ran the tests using yarn test and yarn test --prod. Since this is a type change, all relevant usage scenarios were already covered during development and testing.