From b0fed256f71aeaed9a0dac3cde81f6d98ee0724b Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Tue, 21 Feb 2023 10:23:13 +0000 Subject: [PATCH] feat: Add -replacestate/-keepfocus to SvelteKit anchor tag props (#8281) --- elements/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elements/index.d.ts b/elements/index.d.ts index d57d97ad28..9a4284af22 100644 --- a/elements/index.d.ts +++ b/elements/index.d.ts @@ -540,10 +540,12 @@ export interface HTMLAttributes extends AriaAttributes, D 'bind:textContent'?: string | 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; } export type HTMLAttributeAnchorTarget =