electron / forge

:electron: A complete tool for building and publishing Electron applications
https://electronforge.io
MIT License
6.41k stars 506 forks source link

Outdated ts typedefs/missing AbortSignal.timeout #3656

Open entropy-ibex opened 2 months ago

entropy-ibex commented 2 months ago

Pre-flight checklist

Electron Forge version

7.4.0

Electron version

31.0.1

Operating system

this is not relevant

Last known working Electron Forge version

N/A

Expected behavior

have missing typedef

Actual behavior

get error Property 'timeout' does not exist on type '{ new (): AbortSignal; prototype: AbortSignal; }'. when I have AbortSignal.timeout

Steps to reproduce

get the newest electron-forge webpack ts template and try to use AbortSignal.timeout

Additional information

No response

entropy-ibex commented 2 months ago

I tried adding @types/node, deleting node_modules, deleting yarn.lock and running yarn again, but to no avail