You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the error I get when I try to import the library.
import { Map } from 'react-openlayers'
(TS) Could not find a declaration file for module 'react-openlayers'. '../node_modules/react-openlayers/dist/react-openlayers.umd.js' implicitly has an 'any' type.
Try npm install @types/react-openlayers if it exists or add a new declaration (.d.ts) file containing declare module 'react-openlayers';
Thanks, Shilpi
The text was updated successfully, but these errors were encountered:
Hello -
This is the error I get when I try to import the library.
import { Map } from 'react-openlayers'
(TS) Could not find a declaration file for module 'react-openlayers'. '../node_modules/react-openlayers/dist/react-openlayers.umd.js' implicitly has an 'any' type.
Try
npm install @types/react-openlayers
if it exists or add a new declaration (.d.ts) file containingdeclare module 'react-openlayers';
Thanks, Shilpi
The text was updated successfully, but these errors were encountered: