typescript-vs-flowtype
typescript-vs-flowtype copied to clipboard
Document contravariance and covariance
Flow supports contravariance (-
), TypeScript doesn't.
Also, TypeScript doesn't support covariance (+
) on all its types, but just some of them.
I'm open for PRs. Thanks for the issue.