Skip to content

Commit 7fac094

Browse files
committed
Remove redundant string
1 parent 89f9bb7 commit 7fac094

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
@@ -741,7 +741,7 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
741741
accesskey?: string | undefined | null;
742742
autocapitalize?: 'characters' | 'off' | 'on' | 'none' | 'sentences' | 'words' | undefined | null;
743743
autofocus?: boolean | undefined | null;
744-
class?: string | ClassValue | undefined | null;
744+
class?: ClassValue | undefined | null;
745745
contenteditable?: Booleanish | 'inherit' | 'plaintext-only' | undefined | null;
746746
contextmenu?: string | undefined | null;
747747
dir?: 'ltr' | 'rtl' | 'auto' | undefined | null;
@@ -1522,7 +1522,7 @@ export interface SvelteWindowAttributes extends HTMLAttributes<Window> {
15221522
export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DOMAttributes<T> {
15231523
// Attributes which also defined in HTMLAttributes
15241524
className?: string | undefined | null;
1525-
class?: string | ClassValue | undefined | null;
1525+
class?: ClassValue | undefined | null;
15261526
color?: string | undefined | null;
15271527
height?: number | string | undefined | null;
15281528
id?: string | undefined | null;
@@ -2060,4 +2060,4 @@ export interface SvelteHTMLElements {
20602060
[name: string]: { [name: string]: any };
20612061
}
20622062

2063-
export type ClassValue = import('clsx').ClassArray | import('clsx').ClassDictionary;
2063+
export type ClassValue = string | import('clsx').ClassArray | import('clsx').ClassDictionary;

0 commit comments

Comments
 (0)