Open hakkikonu opened 1 year ago
Thank you for reporting this issue @hakkikonu. I've got this!
With the same versions as @hakkikonu, Angular seems to expect a simpler signature for this config:
Got the same issue. Is there a workaround available?
@gregorygregio for me the only solution to use 14.0.3 was to copy the code to my app, because I think the problem is that the last version was compiled with Angular 16 https://github.com/maximelafarie/ngx-smart-modal/issues/383#issuecomment-1897577989
versions:
"typescript": "4.9.5"
usage:
<ngx-smart-modal [closable]="false"> </ngx-smart-modal>
I think it's related to TypeScript's type-checking. It seems like the issue is with the type definition in the NgxSmartModalComponent. The error message suggests that the properties closable, escapable, dismissable, etc., in the component declaration do not satisfy the expected type constraint.