You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In lottie-player.ts, on line 196, "renderer" is defined as type "svg", but that is its default value, not the variable type.
It should be defined as :string
` /**
Renderer to use.
*/ @Property({ type: String })
public renderer: "svg" = "svg";`
The current definition is triggering an error when trying to set the variable dynamically on a new LottiePlayer() object - "Type 'string' is not assignable to type '"svg"'"
The text was updated successfully, but these errors were encountered:
In lottie-player.ts, on line 196, "renderer" is defined as type "svg", but that is its default value, not the variable type.
It should be defined as :string
` /**
*/
@Property({ type: String })
public renderer: "svg" = "svg";`
The current definition is triggering an error when trying to set the variable dynamically on a new LottiePlayer() object - "Type 'string' is not assignable to type '"svg"'"
The text was updated successfully, but these errors were encountered: