From 2aeaedc61c7e10be046210ff5b7b378aaba17d95 Mon Sep 17 00:00:00 2001 From: Guanyunhan Date: Mon, 19 Nov 2018 14:43:13 +0800 Subject: [PATCH] fix missing export --- types/dplayer/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/dplayer/index.d.ts b/types/dplayer/index.d.ts index 048f75904d..38cf0e4e54 100644 --- a/types/dplayer/index.d.ts +++ b/types/dplayer/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for dplayer 1.25.0 +// Type definitions for dplayer 1.25 // Project: https://github.com/DIYgod/DPlayer#readme // Definitions by: Guanyunhan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -111,7 +111,7 @@ export interface DPlayerVideo { thumbnails?: string; type?: VideoType | string; customType?: any; - quality?: DPlayerVideoQuality[] + quality?: DPlayerVideoQuality[]; defaultQuality?: number; } @@ -140,7 +140,7 @@ export interface DPlayerAPIBackend { send(endpoint: any, danmakuData: DPlayerDanmakuItem, callback: () => void): void; } -interface Danmaku { +export interface Danmaku { send(danmaku: DPlayerDanmakuItem, callback: () => void): void; draw(danmaku: DPlayerDanmakuItem): void; @@ -154,7 +154,7 @@ interface Danmaku { show(): void; } -interface FullScreen { +export interface FullScreen { request(type: FullScreenType): void; cancel(type: FullScreenType): void;