ericelliott/rtype

declaration-site variance annotations of generic type arguments

オープン

#81 opened on 2016/04/14

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (46 件のフォーク)batch import
help wantedstrawman

Repository metrics

Stars
 (1,128 個のスター)
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)

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