mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
16 lines
158 B
TypeScript
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;
|