Closed mrs-cp closed 1 year ago
Can you try the inject version, please?
no change, unfortunately :(
I don't have any errors. Can you reproduce it in our playground?
hi, already had a separate project to check if there is anything else interfering with the dialog inside our project (but no 😢 ), just quickly pushed that one and sent you an invite: https://github.com/mrs-cp/ngneat
error msg inside the test-project:
It should be fine now.
Thank you! 🎉 🥳
I'm submitting a...
Current behavior
If a DialogComponent contains possibly undefined values,
error TS2769: No overload matches this call
get's thrown inside the component that triggers the opening of the DialogComponentExample to reproduce error:
error thrown here inside the component(s) triggering the dialog:
The problem is this part inside the BlablaDialogComponent:
creator?: CreatorDTO
. If I do not define it as possibly undefined, the error disappears. However, it is possibly undefined 😄 .Expected behavior
undefined values (like
creator?: CreatorDTO
in the example) inside dialog components should be possible and not lead to errorssee example
Environment