Closed Chistianxfp closed 2 years ago
Try adding the following line as the first line of the component .ts script
/// <reference types='@runette/leaflet-fullscreen' />
That should do the tick.
Had same issue and installing
npm install @runette/leaflet-fullscreen
Sorts that out :)
Had same issue and installing
npm install @runette/leaflet-fullscreen
Sorts that out :)
This solved the problem. Thank you!!
Hello. Im triying to install with "npm install --legacy-peer-deps @runette/ngx-leaflet-fullscreen" due to dependencies errors but i'm allways getting this error:
**Error: node_modules/@runette/ngx-leaflet-fullscreen/lib/ngx-leaflet-fullscreen.component.d.ts:2:24 - error TS2305: Module '"leaflet"' has no exported member 'FullscreenOptions'.
2 import { Map, Control, FullscreenOptions } from 'leaflet';