Closed lauritzsh closed 3 years ago
Great idea, before adding TypeScript support for main
I didn't think that would be needed. Will tackle this with https://github.com/karolis-sh/electron-snowpack/issues/29
I made a better, more general PR at #30. This will at least make the package typed for the user, so the internal stuff can stay JavaScript if preferred. Your project saved me plenty time setting up Electron and Snowpack btw 👍
I noticed there are no types for the package, so I made a quick fix for my own project. I think a better solution would be proper types (maybe even convert it into TypeScript) but this PR should at least do so the React example has no type errors.