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;
};
Would you like to work on a fix?
Current and expected behavior
I was wondering if the typescript is wrong because
addOneTimeListenerdoesn't seem to be supported forgoogle.visualization.eventsReproduction
N/A
react-google-charts version
v4.0.0
Possible solution
No response