Randomly during build, the typescript compiler will issue such errors while the class does actually have the property set as static:
class MyClass
{
static MyProp:string="Hello";
static MyFunc()
{
console.log(MyClass.MyProp);
}
}
As during the next build it may work, this is certainly a compiler bug.
Using Visual Studio 2015 -> TypeScript for MS VS 1.6.3.0