I have some Typescript code:
module MyModule {
export class MyClass {
static MyStaticMember : string;
}
}
and I want to access it from a separately compiled file. I've tried:
MyModule.MyClass.MyStaticMember
but that gives an error:
error TS2094: The property MyClass does not exist on the value of type 'type MyModule'
How can I access this member variable?