diff --git a/types/react-lottie/index.d.ts b/types/react-lottie/index.d.ts index d547396a11..5511507487 100644 --- a/types/react-lottie/index.d.ts +++ b/types/react-lottie/index.d.ts @@ -10,8 +10,9 @@ import * as React from 'react'; export interface Options { /** * Defines if the animation should play only once or repeatedly in an endless loop + * or the number of loops that should be completed before the animation ends */ - loop?: boolean; + loop?: boolean | number; /** * Defines if the animation should immediately play when the component enters the DOM */