ericelliott/rtype

declaration-site variance annotations of generic type arguments

Open

#81 geöffnet am 14. Apr. 2016

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.128 Stars) (46 Forks)batch import
help wantedstrawman

Beschreibung

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)

Contributor Guide