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

removeEventListener obj parameter not set as optional #109

Open
galaddirie opened this issue Oct 27, 2023 · 0 comments · May be fixed by #110
Open

removeEventListener obj parameter not set as optional #109

galaddirie opened this issue Oct 27, 2023 · 0 comments · May be fixed by #110

Comments

@galaddirie
Copy link

The current type definition for removeEventListener in js/lib/cep/CSInterface.removeEventListener does not mark the obj parameter as optional.

The method documentation indicates that the obj parameter is optional (similar to addEventListener). suggesting the correct definition should look like this:

removeEventListener(type: any, listener: any, obj?: any): void;

Currently, the method is defined as:

removeEventListener(type: any, listener: any, obj: any):
@galaddirie galaddirie linked a pull request Oct 27, 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