mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +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;
|