Update according to TS 0.9

There is no declare inside module