In my case it was @types/node
that was triggering the error on AbortSignal type declaration.
-
In some of my projects, a fresh (re)install of
@types/node
to latest version fixed the bug -
In some others, I have uninstalled
@types/node
which was probably duplicated somewhere. Doing so didn’t change anything at my dev workflow (not sure why I installed it in the first place :-/)