forge icon indicating copy to clipboard operation
forge copied to clipboard

Outdated ts typedefs/missing AbortSignal.timeout

Open entropy-ibex opened this issue 1 year ago • 1 comments

Pre-flight checklist

  • [X] I have read the contribution documentation for this project.
  • [X] I agree to follow the code of conduct that this project uses.
  • [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

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 avatar Jul 17 '24 02:07 entropy-ibex

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

entropy-ibex avatar Jul 17 '24 02:07 entropy-ibex

Hey @entropy-ibex, I seem to be able to repro the same issue.

This might be an upstream problem with ts-node: https://github.com/TypeStrong/ts-node/discussions/1867

erickzhao avatar Jan 31 '25 18:01 erickzhao