Fix TypeScript Language Service issues