From 61e67658087c945308705335d29f9f568c5be8f4 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Fri, 1 Nov 2019 11:35:34 -0700 Subject: [PATCH] Update src/compiler/types.ts Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> --- src/compiler/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 73fa849ec1c..08cc7343cca 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -4676,7 +4676,7 @@ namespace ts { HasRestParameter = 1 << 0, // Indicates last parameter is rest parameter HasLiteralTypes = 1 << 1, // Indicates signature is specialized IsInnerCallChain = 1 << 2, // Indicates signature comes from a CallChain nested in an outer OptionalChain - IsOuterCallChain = 1 << 3, // Indicates signature comes from a CallChain thet is the outermost chain of an optional expression + IsOuterCallChain = 1 << 3, // Indicates signature comes from a CallChain that is the outermost chain of an optional expression // We do not propagate `IsInnerCallChain` to instantiated signatures, as that would result in us // attempting to add `| undefined` on each recursive call to `getReturnTypeOfSignature` when