mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
Added test
This commit is contained in:
parent
1421c39d8c
commit
a693e82e27
@ -0,0 +1,8 @@
|
||||
abstract class A { }
|
||||
|
||||
// var AA: typeof A;
|
||||
var AAA: new() => A;
|
||||
|
||||
// AA = A; // okay
|
||||
AAA = A; // error.
|
||||
AAA = "asdf";
|
||||
Loading…
x
Reference in New Issue
Block a user