7 lines
74 B
TypeScript
7 lines
74 B
TypeScript
|
class C1 {
|
||
|
constructor(public x: X) {
|
||
|
}
|
||
|
}
|
||
|
var c1 = new C1(0);
|
||
|
|