Skip to content

Commit

Permalink
Add missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham committed Dec 11, 2023
1 parent b6e3704 commit 682b7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22518,7 +22518,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
}
if (isDeferredMappedIndex) {
const mappedType = (source as IndexType).type as MappedType;
const nameType = getNameTypeFromMappedType(mappedType)
const nameType = getNameTypeFromMappedType(mappedType);
// Unlike on the target side, on the source side we do *not* include the generic part of the `nameType`, since that comes from a
// (potentially anonymous) mapped type local type parameter, so that'd never assign outside the mapped type body, but we still want to
// allow assignments of index types of identical (or similar enough) mapped types.
Expand Down

0 comments on commit 682b7d3

Please sign in to comment.