chore: remove SvelteKit data attributes from elements.d.ts (#17613)

* Remove SvelteKit data attributes from elements.d.ts

Removed SvelteKit specific data attributes from elements.d.ts.

* Remove SvelteKit data attributes from elements.d.ts

Removed SvelteKit data attributes from elements.d.ts.

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/17614/head
Tee Ming 7 months ago committed by GitHub
parent baba15ab98
commit 05229d9682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"svelte": patch
---
chore: remove SvelteKit data attributes from elements.d.ts

@ -851,23 +851,6 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
readonly 'bind:offsetWidth'?: number | undefined | null; readonly 'bind:offsetWidth'?: number | undefined | null;
readonly 'bind:offsetHeight'?: number | undefined | null; readonly 'bind:offsetHeight'?: number | undefined | null;
// SvelteKit
'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
'data-sveltekit-preload-code'?:
| true
| ''
| 'eager'
| 'viewport'
| 'hover'
| 'tap'
| 'off'
| undefined
| null;
'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
// allow any data- attribute // allow any data- attribute
[key: `data-${string}`]: any; [key: `data-${string}`]: any;

Loading…
Cancel
Save