Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typings for withToastManager() #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

HVish
Copy link

@HVish HVish commented Mar 17, 2020

export function withToastManager(...args: any[]): any;

Above declaration was causing problems in inferring props of a child component of this HOC. I have added suggested type declarations for it.

This serves the purpose in my use-case, correct me if I am wrong, hope this will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant