We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb3eb6 commit cfbec96Copy full SHA for cfbec96
src/compiler/checker.ts
@@ -15498,7 +15498,7 @@ namespace ts {
15498
// declare let wrong: { a: { y: string } };
15499
// let weak: { a?: { x?: number } } & { c?: string } = wrong; // Nested weak object type
15500
//
15501
- // function goo<T extends object>(x: { a?: string }, y: T & { a: boolean }) {
+ // function foo<T extends object>(x: { a?: string }, y: T & { a: boolean }) {
15502
// x = y; // Mismatched property in source intersection
15503
// }
15504
if (result && !(intersectionState & IntersectionState.ExcessCheck) && (
0 commit comments