Property ‘result’ does not exist on type ‘BsModalRef’

  Kiến thức lập trình

I’m using ngx-bootstrap/modal

import { BsModalRef, BsModalService, ModalOptions } from 'ngx-bootstrap/modal';
   
constructor(private modalService: BsModalService) {}
    
this.modalService.show(this.Content, { ariaLabelledBy: 'modal-basic-title', keyboard: false, backdrop: 'static', }).result.then((result: LinkDetail) => {

Here i’m getting

Property ‘result’ does not exist on type ‘BsModalRef’

any solution to fix this issue because i want to execute some lines of code after modal is fully loaded

thanks

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT