niieani/typescript-vs-flowtype

Document contravariance and covariance

Open

#66 创建于 2019年11月22日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人) (76 fork)github user discovery
help wanted

仓库指标

Star
 (1,727 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

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

贡献者指南