Skip to content

Commit 61e6765

Browse files
rbucktonsandersn
andauthored
Update src/compiler/types.ts
Co-Authored-By: Nathan Shively-Sanders <[email protected]>
1 parent 7aa6eee commit 61e6765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4676,7 +4676,7 @@ namespace ts {
46764676
HasRestParameter = 1 << 0, // Indicates last parameter is rest parameter
46774677
HasLiteralTypes = 1 << 1, // Indicates signature is specialized
46784678
IsInnerCallChain = 1 << 2, // Indicates signature comes from a CallChain nested in an outer OptionalChain
4679-
IsOuterCallChain = 1 << 3, // Indicates signature comes from a CallChain thet is the outermost chain of an optional expression
4679+
IsOuterCallChain = 1 << 3, // Indicates signature comes from a CallChain that is the outermost chain of an optional expression
46804680

46814681
// We do not propagate `IsInnerCallChain` to instantiated signatures, as that would result in us
46824682
// attempting to add `| undefined` on each recursive call to `getReturnTypeOfSignature` when

0 commit comments

Comments
 (0)