Electron and Typescript



  • Hi all,

    I just tried to generate a quasar Electron project with typescript support but wasn’t able to convert the created ‘electron-main.js’ to a typescript version. A simple renaming to ‘electron-main.ts’ leads to a compile error:

    ERROR in ./src-electron/main-process/electron-main.dev.js
    Module not found: Error: Can’t resolve ‘./electron-main’ in ‘…/src-electron/main-process’

    I think all *.ts files located in the src-electron folder are not handeled properly. Any help is very appreciated. Thanks in advance.


Log in to reply