Skip to content

Commit

Permalink
v1.3.1: Fix d.ts definition
Browse files Browse the repository at this point in the history
  • Loading branch information
xqq committed Jun 21, 2017
1 parent 8a56b67 commit d7baf9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion d.ts/flv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ declare namespace FlvJs {
detachMediaElement(): void;
load(): void;
unload(): void;
play(): void;
play(): Promise<void>;
pause(): void;
type: string;
buffered: TimeRanges;
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ interface Player {
detachMediaElement(): void;
load(): void;
unload(): void;
play(): Promise;
play(): Promise<void>;
pause(): void;
type: string;
buffered: TimeRanges;
Expand Down

0 comments on commit d7baf9b

Please sign in to comment.