update for typescript 0.9