mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 12:42:06 +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;
|
key?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
type MduiIcons = Extract<
|
interface IntrinsicElements extends MDUIElements {
|
||||||
keyof HTMLElementTagNameMap,
|
|
||||||
`mdui-icon-${string}`
|
|
||||||
>;
|
|
||||||
|
|
||||||
type MduiIconElements = {
|
|
||||||
[k in MduiIcons]: ComponentProps<'div'>;
|
|
||||||
};
|
|
||||||
|
|
||||||
interface IntrinsicElements extends MDUIElements, MduiIconElements {
|
|
||||||
'center': ComponentProps<'div'>;
|
'center': ComponentProps<'div'>;
|
||||||
'ytmd-trans': ComponentProps<'span'> & YtmdTransProps;
|
'ytmd-trans': ComponentProps<'span'> & YtmdTransProps;
|
||||||
'yt-formatted-string': ComponentProps<'span'> & YtFormattedStringProps;
|
'yt-formatted-string': ComponentProps<'span'> & YtFormattedStringProps;
|
||||||
|
|||||||
Reference in New Issue
Block a user