mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
How do I keep missing these?
This commit is contained in:
parent
713c16b645
commit
6b32c4bd33
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user