Fix TypeScript