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

[Angular] accept event has void type #852

Closed
andregamma opened this issue Apr 26, 2023 · 0 comments
Closed

[Angular] accept event has void type #852

andregamma opened this issue Apr 26, 2023 · 0 comments

Comments

@andregamma
Copy link

Describe the bug
After #808 the accept prop has void type.

Expected behavior
The accept prop cannot be void. The prop changes its value according to the value of the unmask property. When it is void, it is not possible to assert the type in a function, for example.

An event that emits a value can't be typed with void, anyway.

image

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

No branches or pull requests

2 participants