upgrade TypeScript to 0.8.2