capacitor-community / background-geolocation

A Capacitor plugin that sends you geolocation updates, even while the app is in the background.
MIT License
190 stars 57 forks source link

Problem with typescript #5

Closed basaltedr closed 3 years ago

basaltedr commented 3 years ago

I can't import the plugin i get this error Cannot find module '@capacitor-community/background-geolocation' or its corresponding type declarations.

diachedelic commented 3 years ago

What if you use @capacitor-community/background-geolocation/definitions.d.ts, does that work?

basaltedr commented 3 years ago

I don't have definitions.d.ts file in @capacitor-community/background-geolocation

diachedelic commented 3 years ago

Please try again with v0.3.8.

On 3 Feb 2021, at 5:18 pm, dramé dieyné boudal notifications@github.com wrote:

I don't have definitions.d.ts file in @capacitor-community/background-geolocation

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/capacitor-community/background-geolocation/issues/5#issuecomment-772307767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACLZQGAPMGIWLCNJN7X5UTS5D5T5ANCNFSM4W7O7AIA.

basaltedr commented 3 years ago

Now its ok, and i can import the plugin without definitions.d.ts

diachedelic commented 3 years ago

Fantastic!