ericelliott/rtype

declaration-site variance annotations of generic type arguments

Open

#81 创建于 2016年4月14日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)JavaScript (1,128 star) (46 fork)batch import
help wantedstrawman

描述

Declaration-site variance annotations in other languages

C#, Kotlin, Ceylon:

  • out covariance
  • in contravariance

Scala, OCaml, Flow:

  • + covariance
  • - contravariance

What should we choose? (see discussion about generic types in #55 and #80)

贡献者指南