From 0c05733d31aa1b568360effd8d07e25a6e5824ad Mon Sep 17 00:00:00 2001 From: miunau <55932282+miunau@users.noreply.github.com> Date: Mon, 25 Mar 2024 14:16:25 +0100 Subject: [PATCH] fix: Add `dirname` to HTMLInputAttributes (#10908) * Add `dirname` to HTMLInputAttributes * changeset --------- Co-authored-by: Rich Harris --- .changeset/ten-singers-cough.md | 5 +++++ packages/svelte/elements.d.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/ten-singers-cough.md diff --git a/.changeset/ten-singers-cough.md b/.changeset/ten-singers-cough.md new file mode 100644 index 0000000000..429a327f74 --- /dev/null +++ b/.changeset/ten-singers-cough.md @@ -0,0 +1,5 @@ +--- +"svelte": patch +--- + +fix: Add `dirname` to HTMLInputAttributes diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index 6883aa0205..88b4a26e10 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -1030,6 +1030,7 @@ export interface HTMLInputAttributes extends HTMLAttributes { capture?: boolean | 'user' | 'environment' | undefined | null; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute checked?: boolean | undefined | null; crossorigin?: string | undefined | null; + dirname?: string | undefined | null; disabled?: boolean | undefined | null; form?: string | undefined | null; formaction?: string | undefined | null;