typescript-vs-flowtype icon indicating copy to clipboard operation
typescript-vs-flowtype copied to clipboard

Document contravariance and covariance

Open FezVrasta opened this issue 4 years ago • 1 comments

Flow supports contravariance (-), TypeScript doesn't.

Also, TypeScript doesn't support covariance (+) on all its types, but just some of them.

FezVrasta avatar Nov 22 '19 12:11 FezVrasta

I'm open for PRs. Thanks for the issue.

niieani avatar Nov 22 '19 16:11 niieani