Skip to content

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
1 participant