Describe the bug
I use Capacitor v3 and got this error
Error: node_modules/@capacitor-community/background-geolocation/definitions.d.ts:1:26 - error TS2307: Cannot find module '@capacitor/core/dist/esm/core-plugin-definitions' or its corresponding type declarations. import {CallbackID} from "@capacitor/core/dist/esm/core-plugin-definitions";
I notice CallbackID is deprecated now. And you must import it from '@capacitor/core/types'
Describe the bug I use Capacitor v3 and got this error
Error: node_modules/@capacitor-community/background-geolocation/definitions.d.ts:1:26 - error TS2307: Cannot find module '@capacitor/core/dist/esm/core-plugin-definitions' or its corresponding type declarations. import {CallbackID} from "@capacitor/core/dist/esm/core-plugin-definitions";
I notice CallbackID is deprecated now. And you must import it from '@capacitor/core/types'