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
{{ message }}
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.
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
consttask=Task.race<void>([ ... ]);
Expected behavior:
This should compile.
Actual behavior:
TS complains that the call signature is invalid. The following does compile:
consttask=Task.race<Task<void>,void>([ ... ]);
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: