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
2.4 is correct, Identifiable is not assignable to T. Previously the compiler ignored these types of errors. Now it correctly flags them. See #16368 and #15104.
@kitsonk Thanks for info. Then the Q is, how to change the signature of test method above to work returning an readonly array of either Identifiables or subclasses of Identifiables ?
TypeScript Version: 2.4.1
Code
Expected behavior:
Should compile ok.
Actual behavior:
The text was updated successfully, but these errors were encountered: