Task.race takes two generic parameters, an ExtensiblePromise subclass and the type expected to be the resolution of the race call. The first parameter is unnecessary as it is never used within the Task class.
Package Version: beta1
Code
const task = Task.race<void>([ ... ]);
Expected behavior:
This should compile.
Actual behavior:
TS complains that the call signature is invalid. The following does compile:
Bug
Task.race
takes two generic parameters, an ExtensiblePromise subclass and the type expected to be the resolution of the race call. The first parameter is unnecessary as it is never used within the Task class.Package Version: beta1
Code
Expected behavior:
This should compile.
Actual behavior:
TS complains that the call signature is invalid. The following does compile: