13 lines
144 B
TypeScript
13 lines
144 B
TypeScript
|
|
||
|
module M {
|
||
|
export class C {
|
||
|
public salt() {}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
var c:M.C = new M.C();
|
||
|
|
||
|
c.salt(); // cool
|
||
|
c.saltbar(); // crash
|
||
|
|