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