Skip to content

Commit ca059a7

Browse files
authored
Chore: Updating typing of playSegments method (#560)
1 parent 526e529 commit ca059a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue3-lottie/src/vue3-lottie.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ export default defineComponent({
412412
}
413413
414414
const playSegments = (
415-
segments: AnimationSegment[],
415+
segments: AnimationSegment | AnimationSegment[],
416416
forceFlag: boolean = false,
417417
) => {
418418
//segments: array. Can contain 2 numeric values that will be used as first and last frame of the animation. Or can contain a sequence of arrays each with 2 numeric values.

0 commit comments

Comments
 (0)