Skip to content

Comments

fix: update interface#19

Open
good-idea wants to merge 1 commit intocrello:masterfrom
good-idea:good-idea-interface-ref
Open

fix: update interface#19
good-idea wants to merge 1 commit intocrello:masterfrom
good-idea:good-idea-interface-ref

Conversation

@good-idea
Copy link

No description provided.

@good-idea good-idea mentioned this pull request May 27, 2020

export interface ReactLottieOwnProps extends ReactLottieState {
animationRef?: React.MutableRefObject<AnimationItem>;
animationRef?: React.MutableRefObject<AnimationItem | undefined | null> | React.RefObject<AnimationItem | undefined | null>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usage of React.RefObject<AnimationItem | undefined | null> leads to this error
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants