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

Invalid return type of validate function in constructor property. #59

Open
lucassith opened this issue Nov 23, 2020 · 0 comments · May be fixed by #79
Open

Invalid return type of validate function in constructor property. #59

lucassith opened this issue Nov 23, 2020 · 0 comments · May be fixed by #79

Comments

@lucassith
Copy link

lucassith commented Nov 23, 2020

Typescript fails when the return type of validate method is Promise instead of boolean.

image

@lucassith lucassith changed the title Invalid return type of validate constructor property. Invalid return type of validate function constructor property. Nov 23, 2020
@lucassith lucassith changed the title Invalid return type of validate function constructor property. Invalid return type of validate function in constructor property. Nov 23, 2020
@c0sx c0sx linked a pull request Sep 19, 2023 that will close this issue
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 a pull request may close this issue.

1 participant