mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +03:00
8 lines
117 B
TypeScript
8 lines
117 B
TypeScript
|
abstract class A { }
|
||
|
|
||
|
// var AA: typeof A;
|
||
|
var AAA: new() => A;
|
||
|
|
||
|
// AA = A; // okay
|
||
|
AAA = A; // error.
|
||
|
AAA = "asdf";
|