Skip to content

Commit a13608f

Browse files
committed
template
1 parent e0b8354 commit a13608f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/svelte/elements.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1786,6 +1786,10 @@ export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DO
17861786
[key: `data-${string}`]: any;
17871787
}
17881788

1789+
export interface HTMLTemplateAttributes extends HTMLAttributes<HTMLElement> {
1790+
shadowrootmode?: 'open' | 'closed' | undefined | null;
1791+
}
1792+
17891793
export interface HTMLWebViewAttributes extends HTMLAttributes<HTMLElement> {
17901794
allowfullscreen?: boolean | undefined | null;
17911795
allowpopups?: boolean | undefined | null;
@@ -1910,7 +1914,7 @@ export interface SvelteHTMLElements {
19101914
summary: HTMLAttributes<HTMLElement>;
19111915
sup: HTMLAttributes<HTMLElement>;
19121916
table: HTMLTableAttributes;
1913-
template: HTMLAttributes<HTMLTemplateElement>;
1917+
template: HTMLTemplateAttributes;
19141918
tbody: HTMLAttributes<HTMLTableSectionElement>;
19151919
td: HTMLTdAttributes;
19161920
textarea: HTMLTextareaAttributes;

0 commit comments

Comments
 (0)