mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
fix: fix an issue with videodatachangefired timing
This commit is contained in:
2
src/reset.d.ts
vendored
2
src/reset.d.ts
vendored
@ -4,6 +4,7 @@ import type { ipcRenderer as electronIpcRenderer } from 'electron';
|
||||
import type is from 'electron-is';
|
||||
|
||||
import type config from './config';
|
||||
import type { VideoDataChanged } from '@/types/video-data-changed';
|
||||
|
||||
declare global {
|
||||
interface Compressor {
|
||||
@ -13,6 +14,7 @@ declare global {
|
||||
|
||||
interface DocumentEventMap {
|
||||
'audioCanPlay': CustomEvent<Compressor>;
|
||||
'videodatachange': CustomEvent<VideoDataChanged>;
|
||||
}
|
||||
|
||||
interface Window {
|
||||
|
||||
Reference in New Issue
Block a user