Skip to content

Commit 9932316

Browse files
committed
remove typing for mdui icons
1 parent 86a4a1b commit 9932316

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/yt-web-components.d.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,7 @@ declare module 'solid-js' {
3939
key?: string;
4040
}
4141

42-
type MduiIcons = Extract<
43-
keyof HTMLElementTagNameMap,
44-
`mdui-icon-${string}`
45-
>;
46-
47-
type MduiIconElements = {
48-
[k in MduiIcons]: ComponentProps<'div'>;
49-
};
50-
51-
interface IntrinsicElements extends MDUIElements, MduiIconElements {
42+
interface IntrinsicElements extends MDUIElements {
5243
'center': ComponentProps<'div'>;
5344
'ytmd-trans': ComponentProps<'span'> & YtmdTransProps;
5445
'yt-formatted-string': ComponentProps<'span'> & YtFormattedStringProps;

0 commit comments

Comments
 (0)