This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
console, AbortController and AbortSignal conflict with node types #203
Labels
v4
For the next major version
See samuelcolvin/edge-mock#14 I'm trying to upgrade edge-mock (implementations of worker-types types for use when testing) to supprot worker-types 3. However I'm having problem because a small number of types conflict with
@types/node
.It would be wonderful if
console
,AbortController
andAbortSignal
could somehow be optional - is there some way to doing this in typescript?Currently, until a fix for microsoft/TypeScript#37053 is provided I don't know of any way to work around this issie.
See this build for details on the error.
Any help would be much appreicated.
The text was updated successfully, but these errors were encountered: