From 75d612ce3ca9d6f69fe8e4e83dc3070d9ab56615 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 12 Jun 2017 21:06:32 +0200 Subject: Convert scripts to typescript --- server/models/video-interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models') diff --git a/server/models/video-interface.ts b/server/models/video-interface.ts index 7005f213c..7120f91cd 100644 --- a/server/models/video-interface.ts +++ b/server/models/video-interface.ts @@ -70,7 +70,7 @@ export namespace VideoMethods { export type GetDurationFromFileCallback = (err: Error, duration?: number) => void export type GetDurationFromFile = (videoPath, callback) => void - export type ListCallback = () => void + export type ListCallback = (err: Error, videoInstances: VideoInstance[]) => void export type List = (callback: ListCallback) => void export type ListForApiCallback = (err: Error, videoInstances?: VideoInstance[], total?: number) => void -- cgit v1.2.3