swc/crates/swc_ecma_parser/tests/tsc/classWithNoConstructorOrBaseClass.ts

16 lines
158 B
TypeScript

class C {
x: string;
}
var c = new C();
var r = C;
class D<T,U> {
x: T;
y: U;
}
var d = new D();
var d2 = new D<string, number>();
var r2 = D;