Fix typescript error

pull/5170/head
Chocobozzz 2022-08-01 15:27:49 +02:00
parent e07c55167e
commit 15eb9e5b8f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 7 additions and 7 deletions

View File

@ -21,16 +21,16 @@ import { buildConcatenatedName } from '../live-utils'
import memoizee = require('memoizee')
interface MuxingSessionEvents {
'master-playlist-created': ({ videoId: number }) => void
'master-playlist-created': (options: { videoId: number }) => void
'bad-socket-health': ({ videoId: number }) => void
'duration-exceeded': ({ videoId: number }) => void
'quota-exceeded': ({ videoId: number }) => void
'bad-socket-health': (options: { videoId: number }) => void
'duration-exceeded': (options: { videoId: number }) => void
'quota-exceeded': (options: { videoId: number }) => void
'ffmpeg-end': ({ videoId: number }) => void
'ffmpeg-error': ({ videoId: string }) => void
'ffmpeg-end': (options: { videoId: number }) => void
'ffmpeg-error': (options: { videoId: number }) => void
'after-cleanup': ({ videoId: number }) => void
'after-cleanup': (options: { videoId: number }) => void
}
declare interface MuxingSession {