Closed Mordef closed 2 years ago
import * as bootstrap from 'bootstrap' import 'bs5-lightbox'
Results in
ERROR in [at-loader] ./node_modules/bs5-lightbox/dist/index.d.ts:14:19 TS2503: Cannot find namespace 'bootstrap'. ERROR in [at-loader] ./node_modules/bs5-lightbox/dist/index.d.ts:15:22 TS2503: Cannot find namespace 'bootstrap'. ERROR in [at-loader] ./node_modules/bs5-lightbox/dist/index.d.ts:18:12 TS2503: Cannot find namespace 'bootstrap'. ERROR in [at-loader] ./node_modules/bs5-lightbox/dist/index.d.ts:19:15 TS2503: Cannot find namespace 'bootstrap'. ERROR in [at-loader] ./node_modules/bs5-lightbox/dist/index.d.ts:39:31 TS2503: Cannot find namespace 'bootstrap'. ERROR in [at-loader] ./node_modules/bs5-lightbox/dist/index.d.ts:39:56 TS2503: Cannot find namespace 'bootstrap'.
Same with
import { Modal, Carousel, Collapse, Dropdown, Offcanvas } from 'bootstrap'; import 'bs5-lightbox'
Duplicate of #17
Results in
Same with