mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
remove typing for mdui icons
This commit is contained in:
11
src/yt-web-components.d.ts
vendored
11
src/yt-web-components.d.ts
vendored
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user