Skip to content

Commit da34be0

Browse files
committed
fix method
1 parent f579a3b commit da34be0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/svelte/elements.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ export interface HTMLButtonAttributes extends HTMLAttributes<HTMLButtonElement>
892892
| 'text/plain'
893893
| undefined
894894
| null;
895-
formmethod?: 'dialog' | 'get' | 'post' | undefined | null;
895+
formmethod?: 'dialog' | 'get' | 'post' | 'DIALOG' | 'GET' | 'POST' | undefined | null;
896896
formnovalidate?: boolean | undefined | null;
897897
formtarget?: string | undefined | null;
898898
name?: string | undefined | null;
@@ -963,7 +963,7 @@ export interface HTMLFormAttributes extends HTMLAttributes<HTMLFormElement> {
963963
| 'text/plain'
964964
| undefined
965965
| null;
966-
method?: 'dialog' | 'get' | 'post' | undefined | null;
966+
method?: 'dialog' | 'get' | 'post' | 'DIALOG' | 'GET' | 'POST' | undefined | null;
967967
name?: string | undefined | null;
968968
novalidate?: boolean | undefined | null;
969969
target?: string | undefined | null;
@@ -1064,7 +1064,7 @@ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
10641064
| 'text/plain'
10651065
| undefined
10661066
| null;
1067-
formmethod?: 'dialog' | 'get' | 'post' | undefined | null;
1067+
formmethod?: 'dialog' | 'get' | 'post' | 'DIALOG' | 'GET' | 'POST' | undefined | null;
10681068
formnovalidate?: boolean | undefined | null;
10691069
formtarget?: string | undefined | null;
10701070
height?: number | string | undefined | null;

0 commit comments

Comments
 (0)