10 lines
132 B
TypeScript
10 lines
132 B
TypeScript
|
//@module: commonjs
|
||
|
export class Foo {
|
||
|
}
|
||
|
|
||
|
export var foo = new Foo();
|
||
|
|
||
|
export function test(foo: Foo) {
|
||
|
return true;
|
||
|
}
|