Merge pull request #16833 from ltearno/master

Comments incorrectly read 'TypeFlags' instead of 'ObjectFlags' at some places
This commit is contained in:
Ryan Cavanaugh
2017-06-29 10:40:50 -07:00
committed by GitHub

View File

@@ -3179,7 +3179,7 @@ namespace ts {
objectFlags: ObjectFlags;
}
/** Class and interface types (TypeFlags.Class and TypeFlags.Interface). */
/** Class and interface types (ObjectFlags.Class and ObjectFlags.Interface). */
export interface InterfaceType extends ObjectType {
typeParameters: TypeParameter[]; // Type parameters (undefined if non-generic)
outerTypeParameters: TypeParameter[]; // Outer type parameters (undefined if none)
@@ -3203,7 +3203,7 @@ namespace ts {
}
/**
* Type references (TypeFlags.Reference). When a class or interface has type parameters or
* Type references (ObjectFlags.Reference). When a class or interface has type parameters or
* a "this" type, references to the class or interface are made using type references. The
* typeArguments property specifies the types to substitute for the type parameters of the
* class or interface and optionally includes an extra element that specifies the type to