HaNdTriX/next-electron-server

Typescript Use

Opened this issue · 2 comments

Hi, finally found a next electron package that handles nossr correctly! just wondering how i would get typescript supported on the main side as next handles typescript on the renderer fine as it is,

(i know not everyone uses typescript but would be nice to have! ty!)

This module doesn't care about typescript. Nevertheless it has some basic type definitions to make the use more convenient.

If you want to use typescript:

Hope that helps ;)

problem is that nextjs commandeers the tsc config file for use with its own typescript compilation, meaning that i cant use tsc to compile the electron code down to js