Skip to content

Commit 5c9994c

Browse files
authored
Update global.d.ts
1 parent fb4ff21 commit 5c9994c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

global.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// global.d.ts
22
declare namespace JSX {
33
interface IntrinsicElements {
4-
'custom-element': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4+
'custom-element': React.DetailedHTMLProps<
5+
React.HTMLAttributes<HTMLElement> & { class?: string },
6+
HTMLElement
7+
>;
58
}
69
}

0 commit comments

Comments
 (0)