strictFunctionTypes prevents an assignment not related to functions #28671
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
TypeScript Version: 3.3.0-dev.20181122
Search Terms:
covariance, contravariance, keyof, interface, class, generic
Code
tsc test.ts --strictFunctionTypes
Expected behavior:
Compiles without errors.
Actual behavior:
Playground Link:
Related Issues:
#24190
The documentation says:
I couldn't find any information saying it should affect anything else.
The text was updated successfully, but these errors were encountered: