Please see the code here
interface ITest {
Name: string
}
var t:ITest;
//var t:ITest = {Name:null};
t.Name = "hello";
this is a runtime error as t never initialized, and can solve by uncommenting the line. Is there a way to detect assignment to un-initialized variable at compile time?