trying to use TS with latest Electron 9.0.3. I renamed main.js to main.ts, and adjusted "main" value in package.json to use main.ts.
The main.ts file does get transpiled and works, but it seems Electron 9 does not fully support TS, as I get errors when declaring types, for example:
function my_function(str: string)
{
// do something
}
will break the app, complaining about the ": string" type declaration...
Is there another setting/config that I'm missing ?