capacitor-community / electron

Deploy your Capacitor apps to Linux, Mac, and Windows desktops, with the Electron platform! 🖥️
https://capacitor-community.github.io/electron/
MIT License
335 stars 59 forks source link

Typings are not included in `@capacitor-community/electron` #148

Closed itsMapleLeaf closed 2 years ago

itsMapleLeaf commented 2 years ago

Describe the bug The typings are missing in the @capacitor-community/electron package.

To Reproduce Set up a project. In the electron/src/setup.ts file, the various imports from "@capacitor-community/electron" are any, and you get this message: image

Expected behavior Should be able to import non-any types.

Screenshots

Typings point to a missing file: image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context N/A

SatheeshKumarBalu commented 2 years ago

Getting same issue, any update or workaround for this.. MicrosoftTeams-image (15) MicrosoftTeams-image (16)

HiveTechDev commented 2 years ago

any update on this?

troywweber7 commented 2 years ago

Is this project dead? And if so, what should I be using instead?

IT-MikeS commented 2 years ago

Not dead, I'm currently working on v5 at this time between my daily life commitments, it is going slower then I had hoped but it will come soon

troywweber7 commented 2 years ago

Okay, thanks for the update. If I get an opportunity to contribute I'll do so. I'm just in that phase right now where I'm looking around and finding lots of sparsely related clues about the correct way to proceed. This plugin seems to be the cleanest approach so far, I just got worried for a second when types weren't there.

IT-MikeS commented 2 years ago

Fixed in 4.1.2