Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork4.6k
Open
Labels
Milestone
Description
Describe the problem
The wholeIntrinsicElements
andHTMLAttributes/SVGAttributes
interfaces are kind of obsolete now since you can enhance the typings via the types fromelements.d.ts
. Remove them in Svelte 6
Also the Document/Window interfaces inelements.d.ts
enhanceHTMLAttributes
which means the types say you can put all these global attributes on<svelte:window/document />
which is wrong. We should make them extend them fromDomAttributes
instead.
Describe the proposed solution
see above
Importance
nice to have