How do I keep missing these?

This commit is contained in:
Daniel Rosenwasser 2026-01-08 01:50:25 +00:00
parent 713c16b645
commit 6b32c4bd33

View File

@ -41,8 +41,8 @@ namespace Generics {
b2 = a1; // error
function foo<T extends Base>() {
declare var b3: { [x: string]: Derived; };
declare var a3: A<T>;
var b3: { [x: string]: Derived; };
var a3: A<T>;
a3 = b3; // error
b3 = a3; // error