update typestring and typescript to 1.0.x