From 9932316be13a37d8adf53cd73d35577476677ba8 Mon Sep 17 00:00:00 2001 From: ArjixWasTaken Date: Sun, 12 Oct 2025 03:17:42 +0300 Subject: [PATCH] remove typing for mdui icons --- src/yt-web-components.d.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/yt-web-components.d.ts b/src/yt-web-components.d.ts index 80a6592f..052af427 100644 --- a/src/yt-web-components.d.ts +++ b/src/yt-web-components.d.ts @@ -39,16 +39,7 @@ declare module 'solid-js' { key?: string; } - type MduiIcons = Extract< - keyof HTMLElementTagNameMap, - `mdui-icon-${string}` - >; - - type MduiIconElements = { - [k in MduiIcons]: ComponentProps<'div'>; - }; - - interface IntrinsicElements extends MDUIElements, MduiIconElements { + interface IntrinsicElements extends MDUIElements { 'center': ComponentProps<'div'>; 'ytmd-trans': ComponentProps<'span'> & YtmdTransProps; 'yt-formatted-string': ComponentProps<'span'> & YtFormattedStringProps;