Addressing CR feedback

This commit is contained in:
Anders Hejlsberg
2017-09-29 16:01:14 -07:00
parent c626d9d47c
commit 936f98d9ad

View File

@@ -3344,6 +3344,7 @@ namespace ts {
typeArguments?: Type[]; // Type reference type arguments (undefined if none)
}
/* @internal */
export const enum Variance {
Invariant = 0, // Neither covariant nor contravariant
Covariant = 1, // Covariant
@@ -3356,6 +3357,7 @@ namespace ts {
export interface GenericType extends InterfaceType, TypeReference {
/* @internal */
instantiations: Map<TypeReference>; // Generic instantiation cache
/* @internal */
variances?: Variance[]; // Variance of each type parameter
}