Skip to content

Commit 6df0f3d

Browse files
committed
Fix comment
1 parent cf6cfed commit 6df0f3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/checker.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -6783,11 +6783,11 @@ namespace ts {
67836783
* for a mapper. Let's go through each one of them:
67846784
*
67856785
* 1. undefined - this means we are not doing inferential typing, but we may do contextual typing,
6786-
* which could cause us to assign a parameter type
6787-
* 2. identityMapper - means we want to avoid assigning a parameter type, whether or not we are in
6786+
* which could cause us to assign a parameter a type
6787+
* 2. identityMapper - means we want to avoid assigning a parameter a type, whether or not we are in
67886788
* inferential typing (context is undefined for the identityMapper)
67896789
* 3. a mapper created by createInferenceMapper - we are doing inferential typing, we want to assign
6790-
* parameter types and fix type parameters (context is defined)
6790+
* types to parameters and fix type parameters (context is defined)
67916791
* 4. an instantiation mapper created by createTypeMapper or createTypeEraser - this should never be
67926792
* passed as the contextual mapper when checking an expression (context is undefined for these)
67936793
*

0 commit comments

Comments
 (0)