fix(song-info-front): fix eslint warning

This commit is contained in:
JellyBrick
2023-12-02 04:29:05 +09:00
parent 4dcac23688
commit 9a816b3f07

View File

@ -114,6 +114,7 @@ export default (api: YoutubePlayer) => {
pause: (e: Event) => playPausedHandler(e, 'pause'),
};
// eslint-disable-next-line @typescript-eslint/require-await
const videoEventDispatcher = async (name: string, videoData: VideoDataChangeValue) => document.dispatchEvent(
new CustomEvent<VideoDataChanged>('videodatachange', {
detail: { name, videoData },