Skip to content

Commit df09399

Browse files
9ParsonsBkaisermann
authored andcommitted
fix: use ElementCSSInlineStyle in type definitions
ElementCSSInline (interface) should match to any element (not just HTMLElements) that can contain an inline style
1 parent 26ec3fa commit df09399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
declare module 'svelte-css-vars' {
22
export function update(new_props: Record<string, any>);
33

4-
function apply(node: HTMLElement, props: Record<string, any>);
4+
function apply(node: ElementCSSInlineStyle, props: Record<string, any>);
55

66
export default apply;
77
}

0 commit comments

Comments
 (0)