You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Matthew Ailes, Anselm, whoisYeshua, Alex Rothberg, Andreas Amsenius, Bharat Kashyap, meluskyc, Kristina Pusch, Michele Prà, Taimuraz Kaitmazov and 1 more
Activity
huytd commentedon Mar 31, 2022
I think it is the same issue as #48444, looks like
AbortSignal.timeouthasn't made it to the major browsers yet.Here are the implementation tickets from the browsers:
cc Orta Therox (@orta) Kagami Sascha Rosylight (@saschanaz)
malobre commentedon Jun 17, 2022
This feature has now shipped in (at least) Chrome, Firefox & Safari: https://chromestatus.com/feature/5768400507764736.
blake-regalia commentedon Sep 18, 2022
This is now supported by all major browsers across the board. It's time to add the type.
saschanaz commentedon Sep 18, 2022
The type has been there for a while in https://github.com/microsoft/TypeScript-DOM-lib-generator/, the remaining work is to fetch that lib here.
If you are in hurry, you can try https://www.npmjs.com/package/@types/web instead of waiting for a new TS release.
ianschmitz commentedon May 10, 2023
This is in the latest TypeScript. It appears to have been introduced in 4.9.5. See example: https://www.typescriptlang.org/play?ts=4.9.5#code/IIIw9gTgLgyglgcwHYEMA2A6KcC2BTMAVygAoBWABioEog
I think this ticket can be closed as completed.
jakebailey commentedon Jul 9, 2023
Done in #50884.