mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-16 15:51:35 -05:00
How do I keep missing these?
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user