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
Expected behavior:
Should compile Actual behavior:
file.ts(20,14): error TS2417: Class static side 'typeof VoidFuture' incorrectly extends base class static side 'typeof Future'.
Types of property 'createResolved' are incompatible.
Type '(result?: void) => IVoidFuture' is not assignable to type '<TResult>(result?: TResult) => IFuture<TResult>'.
Types of parameters 'result' and 'result' are incompatible.
Type 'TResult' is not assignable to type 'void'.
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.5.2
Code
Expected behavior:
Should compile
Actual behavior:
The text was updated successfully, but these errors were encountered: