-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Description
Describe the bug
The current generated types output in packages/svelte/types/index.d.ts contains types like Css.Combinator, but there's now Css namespace. dts-buddy or TypeScript seem to wrongfully think that this is a namespace, but it's coming from import * as Css from '..'; ... export { Css } inside src/compiler/types.d.ts. The result is a d.ts file that's going to fail type checking.
Fix is to either not use this somewhat unusual pattern, or to fix dts-buddy - cc @Rich-Harris
Reproduction
Look at the generated file and see the type errors
Logs
No response
System Info
-Severity
blocking an upgrade