Generic type of superclass cannot be inferred from function call on a subclass #20348
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
Milestone
TypeScript Version: 2.7.0-dev.20171129
Code
Expected behavior:
event
is inferred as{ type: 'change' }
on line 20 (last line)Actual behavior:
Line 20 is flagged as an error:
Currently, the only way to get line 20 to work as expected is to uncomment line 2.
The text was updated successfully, but these errors were encountered: