diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index ec45bd98254..831f2258db0 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -4339,6 +4339,8 @@ module ts { } function isTupleType(type: Type) : boolean { + // Check if a Type exactly implements interface TupleType. Typical typechecking code should rely on + // isTupleLikeType() instead. return (type.flags & TypeFlags.Tuple) && !!(type).elementTypes; }