type Test = { value: T }; // Error let zz: Test = { foo: "abc" }; // should error on comparison with Test let zzy: Test = { value: {} }; // Simplified repro from #28873 class C1 {} class C2 = any> {}