ericelliott/rtype

declaration-site variance annotations of generic type arguments

Aberta

#81 aberto em 14 de abr. de 2016

 (6 comentários) (0 reação) (0 responsável)JavaScript (46 forks)batch import
help wantedstrawman

Métricas do repositório

Stars
 (1.128 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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)

Guia do colaborador