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
When importing the package into React typescript project, the module name import Geocoder from 'react-map-gl-geocoder'; gives the following error:
Could not find a declaration file for module 'react-map-gl-geocoder'. 'c:/Users/.../client-app/node_modules/react-map-gl-geocoder/dist/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/react-map-gl-geocoder` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-map-gl-geocoder';`ts(7016)
The text was updated successfully, but these errors were encountered:
When importing the package into React typescript project, the module name
import Geocoder from 'react-map-gl-geocoder';
gives the following error:The text was updated successfully, but these errors were encountered: