ericelliott/rtype

declaration-site variance annotations of generic type arguments

Open

#81 opened on 2016年4月14日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)JavaScript (46 forks)batch import
help wantedstrawman

Repository metrics

Stars
 (1,128 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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)

コントリビューターガイド