16 lines
No EOL
198 B
TypeScript
16 lines
No EOL
198 B
TypeScript
module m {
|
|
export class variable{
|
|
s: string;
|
|
}
|
|
export function doSomething(v: m.variable) {
|
|
|
|
}
|
|
}
|
|
|
|
class variable {
|
|
t: number;
|
|
}
|
|
|
|
|
|
var v: variable = new variable();
|
|
m.doSomething(v); |