Understanding
/// <reference types="vite/client" />
in Vite + TypeScript
If you’re building a Vite + TypeScript project, you may have seen this line in some projects:
/// <reference types="vite/client" />
OR using below in tsconfig.ts
"types": ["vite/client"]
You might wonder: “What is this? Do I really need it?”
Le...
bikash8848.hashnode.dev2 min read