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

Inconsistent Typescript typing #1082

Open
juan-carvajal opened this issue Apr 4, 2021 · 1 comment
Open

Inconsistent Typescript typing #1082

juan-carvajal opened this issue Apr 4, 2021 · 1 comment

Comments

@juan-carvajal
Copy link

juan-carvajal commented Apr 4, 2021

Hi, It seems the object returned in this line is not consistent with the typescript type that is used to describe it because the object is being wrapped inside another object with a prop called user.

return { user: userData }

@danielo515
Copy link
Contributor

Not sure if it is a good idea to mention it here or create a new issue, but anyway, the key childParam is not understood by TS for the populates feature.

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