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

No overload matches this call. #135

Closed
ChenJuo opened this issue May 30, 2021 · 1 comment
Closed

No overload matches this call. #135

ChenJuo opened this issue May 30, 2021 · 1 comment

Comments

@ChenJuo
Copy link

ChenJuo commented May 30, 2021

Overload 1 of 2, '(type: "", handler: WildcardHandler): void', gave the following error.    
 Argument of type '"form-item-created"' is not assignable to parameter of type '"
"'.   
Overload 2 of 2, '(type: string | symbol, handler: Handler): void', gave the following error.     
Argument of type '(func: ValidateFunc) => void' is not assignable to parameter of type 'Handler'.       
Types of parameters 'func' and 'event' are incompatible.         
Type 'ValidateFunc | undefined' is not assignable to type 'ValidateFunc'.           
Type 'undefined' is not assignable to type 'ValidateFunc'.

@developit
Copy link
Owner

This is addressed by #114.

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

No branches or pull requests

2 participants