Cannot infer from usage when generic class does not have a member or function parameter/return value of the generic type. #10609
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
TypeScript Version: 2.1.0-dev.20160830
Code
Expected behavior:
No error.
Actual behavior:
The error reported with the code.
Note that this may seem same as #8619, however here, adding a member of type T, or a function with a parameter/return value of type T, solves the issue.
The text was updated successfully, but these errors were encountered: