News for hackers. Stuff that matters.
Re:Vite 8.0 Is Out by dminik on Friday March 13, 2026 @07:07AM (#47362829)
Maybe because TypeScript is not valid JavaScript (yet)? If you don't strip types, your code doesn't work.
Re:Vite 8.0 Is Out by wildpeaks on Friday March 13, 2026 @08:25AM (#47363513)
It depends on the runtime: Node can run Typescript because it automatically strips types (which is so convenient during development).

But in browser, for now only the more limited JSDoc-style types can be shipped as-is indeed.