Open Eptagone opened 1 year ago
The Options.type field is of type string, so the user can set any string value, but the docs only mention three options: slide, loop, and fade. This PR adds a union type to allow only those options.
Options.type
slide
loop
fade
Description
The
Options.type
field is of type string, so the user can set any string value, but the docs only mention three options:slide
,loop
, andfade
. This PR adds a union type to allow only those options.