'How can I resolve errors involving bsmodal after updating angular and bootstrap?
I'm in the process of updating various things to latest for my project and after updating angular and bootstrap I'm getting a number of errors related to BsModalRef and BsModalService. Here is an example of the errors I'm getting:
Argument of type 'ModalDirective' is not assignable to parameter of type 'string | TemplateRef | (new (...args: any[]) => any)'.ts(2345)
For the following:
this.bsModalRef = this.bsModalService.show(this.profileModal, { class: 'modal-md', backdrop: 'static', keyboard: false}
I assume this has to do with something changing in the version upgrade. Anyone know how I can resolve this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
