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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promise<P> in GetServerSidePropsResult #1

Closed
freeatnet opened this issue Oct 15, 2022 · 2 comments
Closed

Promise<P> in GetServerSidePropsResult #1

freeatnet opened this issue Oct 15, 2022 · 2 comments

Comments

@freeatnet
Copy link

Hey @HaNdTriX! Thank you for patching inferred types in vercel/next.js#40635.

I noticed that InferGetServerSidePropsType type is wrapped in an Awaited in the contributed patch; however, it's missing from this package.

Is there any chance you could backport it into this package? I know you tagged it as "deprecated," but I would very much appreciate this fix as the next version of Next seems to contain quite a few breaking changes.

HaNdTriX added a commit that referenced this issue Oct 16, 2022
@HaNdTriX
Copy link
Owner

Good catch! Thanks for reporting this!

HaNdTriX added a commit that referenced this issue Oct 16, 2022
HaNdTriX added a commit that referenced this issue Oct 16, 2022
HaNdTriX added a commit that referenced this issue Oct 16, 2022
@HaNdTriX
Copy link
Owner

https://github.com/HaNdTriX/infer-next-props-type/releases/tag/v0.1.0

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

No branches or pull requests

2 participants