aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTakeshi <iwatakeshi@users.noreply.github.com>2020-07-13 13:00:16 -0600
committerGitHub <noreply@github.com>2020-07-13 13:00:16 -0600
commitcbd4a7cef41aba1259acb9017e82be7b5ebbd90c (patch)
treeff1860426b11cfb011beac6e72cbb0e71f49ce4a /src
parent6cb822d56f39656dc079337c35316cdb824a397b (diff)
downloadplyr-cbd4a7cef41aba1259acb9017e82be7b5ebbd90c.tar.lz
plyr-cbd4a7cef41aba1259acb9017e82be7b5ebbd90c.tar.xz
plyr-cbd4a7cef41aba1259acb9017e82be7b5ebbd90c.zip
Fix PreviewThumbnailsOptions type
According to the docs, the `src` should also accept an array of strings.
Diffstat (limited to 'src')
-rw-r--r--src/js/plyr.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/plyr.d.ts b/src/js/plyr.d.ts
index cdd5cd4c..aca14d9a 100644
--- a/src/js/plyr.d.ts
+++ b/src/js/plyr.d.ts
@@ -552,7 +552,7 @@ declare namespace Plyr {
interface PreviewThumbnailsOptions {
enabled?: boolean;
- src?: string;
+ src?: string | string[];
}
interface SourceInfo {