Fix PreviewThumbnailsOptions type
According to the docs, the `src` should also accept an array of strings.
This commit is contained in:
parent
6cb822d56f
commit
cbd4a7cef4
2
src/js/plyr.d.ts
vendored
2
src/js/plyr.d.ts
vendored
@ -552,7 +552,7 @@ declare namespace Plyr {
|
|||||||
|
|
||||||
interface PreviewThumbnailsOptions {
|
interface PreviewThumbnailsOptions {
|
||||||
enabled?: boolean;
|
enabled?: boolean;
|
||||||
src?: string;
|
src?: string | string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SourceInfo {
|
interface SourceInfo {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user