Skip to content

Commit cfbec96

Browse files
committed
Fix comment
1 parent 6fb3eb6 commit cfbec96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15498,7 +15498,7 @@ namespace ts {
1549815498
// declare let wrong: { a: { y: string } };
1549915499
// let weak: { a?: { x?: number } } & { c?: string } = wrong; // Nested weak object type
1550015500
//
15501-
// function goo<T extends object>(x: { a?: string }, y: T & { a: boolean }) {
15501+
// function foo<T extends object>(x: { a?: string }, y: T & { a: boolean }) {
1550215502
// x = y; // Mismatched property in source intersection
1550315503
// }
1550415504
if (result && !(intersectionState & IntersectionState.ExcessCheck) && (

0 commit comments

Comments
 (0)