Any assistance would greatly be appreciated.
Do you guys know how to solve this error?
import Geocoding from ‘@mapbox/mapbox-sdk/services/geocoding’;
it directs to the declaration file: declare module “@mapbox/mapbox-sdk/services/geocoding” {
}
Error: Did you mean to import “@mapbox/mapbox-sdk/services/geocoding.js”?
I already installed types for mapbox: @types/mapbox__mapbox-sdk
I already installed types for mapbox: @types/mapbox__mapbox-sdk
I tried to change the declaration file in the node_modules for my development and add .js extension to my /geocoding path but it does not work in production because I can’t edit the node_modules there.