In order to use the existing typings from I did the following in typescript:
import * as googleMaps from ‘@google/maps’;
import { } from ‘@types/googlemaps’;
This then allowed me to use the google.maps namespace along with making the createClient call.
Be warned that this project and the typings project have discrepancies as well. For example the GeocoderRequest object from the typings project has a different object structure.
Thanks again. I’ll have to read up on some of the things you just mentioned but I really appreciate it. You’ve definitely done your community duties for a month! Is the a badge a joke or is there something I can press here to say thanks??
I’ve been watching this thread for hours, and it seems the problem hasn’t even solved yet. I don’t know how to help you with wrapAsync function. But maybe my repo here can help you as an example of handling geocode method