Skip to content

Commit 49820ef

Browse files
committed
method
1 parent 245550a commit 49820ef

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/svelte/elements.d.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ export interface HTMLButtonAttributes extends HTMLAttributes<HTMLButtonElement>
887887
form?: string | undefined | null;
888888
formaction?: string | undefined | null;
889889
formenctype?: string | undefined | null;
890-
formmethod?: string | undefined | null;
890+
formmethod?: 'dialog' | 'get' | 'post' | undefined | null;
891891
formnovalidate?: boolean | undefined | null;
892892
formtarget?: string | undefined | null;
893893
name?: string | undefined | null;
@@ -953,7 +953,7 @@ export interface HTMLFormAttributes extends HTMLAttributes<HTMLFormElement> {
953953
action?: string | undefined | null;
954954
autocomplete?: AutoFillBase | undefined | null;
955955
enctype?: string | undefined | null;
956-
method?: string | undefined | null;
956+
method?: 'dialog' | 'get' | 'post' | undefined | null;
957957
name?: string | undefined | null;
958958
novalidate?: boolean | undefined | null;
959959
target?: string | undefined | null;
@@ -1047,7 +1047,7 @@ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
10471047
form?: string | undefined | null;
10481048
formaction?: string | undefined | null;
10491049
formenctype?: string | undefined | null;
1050-
formmethod?: string | undefined | null;
1050+
formmethod?: 'dialog' | 'get' | 'post' | undefined | null;
10511051
formnovalidate?: boolean | undefined | null;
10521052
formtarget?: string | undefined | null;
10531053
height?: number | string | undefined | null;
@@ -1486,7 +1486,8 @@ export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DO
14861486
lang?: string | undefined | null;
14871487
max?: number | string | undefined | null;
14881488
media?: string | undefined | null;
1489-
method?: string | undefined | null;
1489+
// On the `textPath` element
1490+
method?: 'align' | 'stretch' | undefined | null;
14901491
min?: number | string | undefined | null;
14911492
name?: string | undefined | null;
14921493
style?: string | undefined | null;

0 commit comments

Comments
 (0)