12 lines
No EOL
165 B
TypeScript
12 lines
No EOL
165 B
TypeScript
module M {
|
|
class Foo {}
|
|
class Gar {
|
|
public fa: Foo[];
|
|
public x = 10;
|
|
public y = 10;
|
|
|
|
public m () {
|
|
this.fa = new Array<Foo>(this.x * this.y);
|
|
}
|
|
}
|
|
} |