Closed theogravity closed 1 year ago
Hi @theogravity , I don't get any errors around this as you can see:
The development and build stages are not affected by that never read
message and it makes the trick for the type inference, in this case I don't know if it's worth making changes. 🤔
I think I know what's going on. We have a monorepo, but the package.json at the root which we use for eslint uses an older version of typescript (4.5), so when the IDE performs linting, it's using that version instead of the electron typescript ver.
Thanks for looking into this!
This is with me copying the src files directly to my project to get around
sandbox: true
, and using typescript 4.9.The
IPC
type doesn't do anything with theinfer
variables, so TS complains.