Без (кривых и некрасивых) костылей - низя.
export const useEmitter = <EM extends Record<string, any>>() => <K extends keyof EM>(event: K) => { ...
const emitTest1 = useEmitter<TableEventMap>()("cell:hover");
const emitTest2 = useEmitter<TableEventMap>()("test2");
/* new player design fix */
.ytp-play-button,
.ytp-time-wrapper,
.ytp-chapter-title,
.ytp-right-controls,
.ytp-mute-button,
.ytp-volume-area,
.ytPlayerQuickActionButtonsHost {
background: transparent !important;
backdrop-filter: none !important;
}
.ytp-efyt-button > svg {
padding: 0 !important;
}
.ytPlayerOverlayVideoDetailsRendererTitle.ytPlayerOverlayVideoDetailsRendererSingleLineTitle {
mask-image: none !important;
}
body.no-scroll #single-column-container.style-scope.ytd-watch-flexy,
body.no-scroll #columns.style-scope.ytd-watch-flexy {
display: block !important;
}
body.no-scroll {
overflow-y: scroll !important;
}
html:has(> body.no-scroll) {
scrollbar-width: none !important;
}
.ytp-fullscreen-grid,
.ytp-gradient-bottom {
display: none !important;
}
.ytp-chrome-bottom {
bottom: 0 !important;
--ytp-grid-scroll-percentage: 0;
}
Не хочу забивать систему лишними комбинациями клавиш.
Ладно ещё в коментах/под спойлером оффтоп писать, но для чего он в теле вопроса, кроме как для срача?