Vite with TypeScript

How to upgrade Vite to TypeScript from JavaScript ...