Skip to content

Commit 9ccf8ca

Browse files
committed
Comments incorrectly read 'TypeFlags' instead of 'ObjectFlags' at some places
1 parent 51fb7e9 commit 9ccf8ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3179,7 +3179,7 @@ namespace ts {
31793179
objectFlags: ObjectFlags;
31803180
}
31813181

3182-
/** Class and interface types (TypeFlags.Class and TypeFlags.Interface). */
3182+
/** Class and interface types (ObjectFlags.Class and ObjectFlags.Interface). */
31833183
export interface InterfaceType extends ObjectType {
31843184
typeParameters: TypeParameter[]; // Type parameters (undefined if non-generic)
31853185
outerTypeParameters: TypeParameter[]; // Outer type parameters (undefined if none)
@@ -3203,7 +3203,7 @@ namespace ts {
32033203
}
32043204

32053205
/**
3206-
* Type references (TypeFlags.Reference). When a class or interface has type parameters or
3206+
* Type references (ObjectFlags.Reference). When a class or interface has type parameters or
32073207
* a "this" type, references to the class or interface are made using type references. The
32083208
* typeArguments property specifies the types to substitute for the type parameters of the
32093209
* class or interface and optionally includes an extra element that specifies the type to

0 commit comments

Comments
 (0)