在Typescript中调用Bootstrap模态对话框,报错,
VSCode提示:Property 'modal' does not exist on type 'JQuery<HTMLElement>'.
解决方法:
npm install -D @types/bootstrap
问题解决:
在Typescript中调用Bootstrap模态对话框,报错,
VSCode提示:Property 'modal' does not exist on type 'JQuery<HTMLElement>'.
解决方法:
npm install -D @types/bootstrap
问题解决: