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

[Bug]: addOneTimeListener this doesn't seem to be supported? #665

Open
1 task
darewreck54 opened this issue Aug 25, 2022 · 0 comments
Open
1 task

[Bug]: addOneTimeListener this doesn't seem to be supported? #665

darewreck54 opened this issue Aug 25, 2022 · 0 comments
Labels

Comments

@darewreck54
Copy link

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

I was wondering if the typescript is wrong because addOneTimeListener doesn't seem to be supported for google.visualization.events

export declare type GoogleVizEvents = {
    addListener: (chartWrapper: GoogleChartWrapper | GoogleChartControl | GoogleChartEditor, name: GoogleVizEventName, onEvent: (chartWrapper: GoogleChartWrapper) => any) => any;
    removeListener: (chartWrapper: GoogleChartWrapper, name: GoogleVizEventName, callback: Function) => any;
    removeAllListeners: (chartWrapper: GoogleChartWrapper) => any;
};

Reproduction

N/A

react-google-charts version

v4.0.0

Possible solution

No response

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

No branches or pull requests

1 participant