typescript compile script updated