In a Vite project with type="module", tsc fails when using TypeScript >= v5.5. The issue is:
node_modules/goober/goober.d.ts:3:1 - error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.
3 export = goober;
Package versions:
- vite 6.1.1
- typescript 5.5.0
- goober 2.1.16
Not completely sure if this may be caused by another issue specific to my project though, as this has not been reported yet and TS 5.5 has been out for a while...
In a Vite project with
type="module",tscfails when using TypeScript >= v5.5. The issue is:Package versions:
Not completely sure if this may be caused by another issue specific to my project though, as this has not been reported yet and TS 5.5 has been out for a while...