-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Deep partial update breaks build #58
Comments
Hi @criskrzysiu thanks for taking the time and open this issue, though I can not reproduce this error from your example above, could you please create some reproduction of it on stackblitz? |
rafaelss95 I have seen but I am not sure if what exactly the problem is as I can not reproduce it myself |
I was able to reproduce in local environment. Btw, a good explanation on why we need using an exit conditional using recursive types is very well explained here. |
@rafaelss95 I still couldn't reproduce it on my pc, might depend on the typescript's version? could you create a reproduction for that? |
Current behavior: |
thanks, @rafaelss95 seems like I was missing "strictNullCheck" flag in my reproduction... |
Hey, yes I do use strict:true in tsconfig. Thx for such a quick replay!
W dniu czw., 19.11.2020 o 15:33 Itay Oded <[email protected]>
napisał(a):
… thanks, @rafaelss95 <https://github.com/rafaelss95> seems like I was
missing "strictNullCheck" flag in my reproduction...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFKBQQN57HEK7URWWYDG54DSQUUCVANCNFSM4T2PEXHA>
.
|
I also ran into this issue today, thank you for looking into it so quickly. |
Just ran into this issue myself as well. It happens with latest version 1.4.4 but not with 1.4.3. |
I'm submitting a...
Current behavior
last line breaks build;
When change type of usersSelect to usersSelect: number | null; error disappears.
Expected behavior
Deep partials to work with any;
DeepPartial = any;
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: