diff options
author | Sam Potts <sam@potts.es> | 2020-02-26 12:33:07 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 12:33:07 +1100 |
commit | 84eef1d7475a07146b0f8c1873e74c801a2e0653 (patch) | |
tree | c48dd028fe671e4c933d200b79d57221f3e0e0ca /src | |
parent | b12ec094c55e59db77e5e20fb3b26899211eb410 (diff) | |
parent | fea5e76b7612f0eb8c0e1b2fa1a4e6d36e85120d (diff) | |
download | plyr-84eef1d7475a07146b0f8c1873e74c801a2e0653.tar.lz plyr-84eef1d7475a07146b0f8c1873e74c801a2e0653.tar.xz plyr-84eef1d7475a07146b0f8c1873e74c801a2e0653.zip |
Merge pull request #1701 from mogzol/patch-1
Use number instead of string in TS quality definitions
Diffstat (limited to 'src')
-rw-r--r-- | src/js/plyr.d.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/js/plyr.d.ts b/src/js/plyr.d.ts index cd204a6f..50179468 100644 --- a/src/js/plyr.d.ts +++ b/src/js/plyr.d.ts @@ -94,9 +94,8 @@ declare class Plyr { /** * Gets or sets the quality for the player. The setter accepts a value from the options specified in your config. - * Remarks: YouTube only. HTML5 will follow. */ - quality: string; + quality: number; /** * Gets or sets the current loop state of the player. @@ -475,8 +474,8 @@ declare namespace Plyr { } interface QualityOptions { - default: string; - options: string[]; + default: number; + options: number[]; } interface LoopOptions { |