You should remove the export module part and leave just:
export class MyClass { Name: string; greet() { return "Hello world!"; } }
File is already a module in typescript.
And then:
var test=new my.MyClass();
Hope this helps.
You should remove the export module part and leave just:
export class MyClass { Name: string; greet() { return "Hello world!"; } }
File is already a module in typescript.
And then:
var test=new my.MyClass();
Hope this helps.