Skip to content

Commit e0b8354

Browse files
committed
enctype
1 parent 49820ef commit e0b8354

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

packages/svelte/elements.d.ts

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,12 @@ export interface HTMLButtonAttributes extends HTMLAttributes<HTMLButtonElement>
886886
disabled?: boolean | undefined | null;
887887
form?: string | undefined | null;
888888
formaction?: string | undefined | null;
889-
formenctype?: string | undefined | null;
889+
formenctype?:
890+
| 'application/x-www-form-urlencoded'
891+
| 'multipart/form-data'
892+
| 'text/plain'
893+
| undefined
894+
| null;
890895
formmethod?: 'dialog' | 'get' | 'post' | undefined | null;
891896
formnovalidate?: boolean | undefined | null;
892897
formtarget?: string | undefined | null;
@@ -952,7 +957,12 @@ export interface HTMLFormAttributes extends HTMLAttributes<HTMLFormElement> {
952957
acceptcharset?: string | undefined | null;
953958
action?: string | undefined | null;
954959
autocomplete?: AutoFillBase | undefined | null;
955-
enctype?: string | undefined | null;
960+
enctype?:
961+
| 'application/x-www-form-urlencoded'
962+
| 'multipart/form-data'
963+
| 'text/plain'
964+
| undefined
965+
| null;
956966
method?: 'dialog' | 'get' | 'post' | undefined | null;
957967
name?: string | undefined | null;
958968
novalidate?: boolean | undefined | null;
@@ -1046,7 +1056,12 @@ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
10461056
disabled?: boolean | undefined | null;
10471057
form?: string | undefined | null;
10481058
formaction?: string | undefined | null;
1049-
formenctype?: string | undefined | null;
1059+
formenctype?:
1060+
| 'application/x-www-form-urlencoded'
1061+
| 'multipart/form-data'
1062+
| 'text/plain'
1063+
| undefined
1064+
| null;
10501065
formmethod?: 'dialog' | 'get' | 'post' | undefined | null;
10511066
formnovalidate?: boolean | undefined | null;
10521067
formtarget?: string | undefined | null;

0 commit comments

Comments
 (0)