ej2-base.umd.min.js?85d3:10 Uncaught TypeError: Cannot use 'in' operator to search for '__eventList' in undefined
at Function.t.addOrGetEventData (ej2-base.umd.min.js?85d3:10)
at Function.t.remove (ej2-base.umd.min.js?85d3:10)
at e.o.unWireEvents (ej2-charts.umd.min.js?a318:10)
at e.o.destroy (ej2-charts.umd.min.js?a318:10)
at e.o.componentWillUnmount (ej2-react-base.umd.min.js?badd:formatted:114)
at callComponentWillUnmountWithTimer (react-dom.development.js?61bb:15799)
at HTMLUnknownElement.callCallback (react-dom.development.js?61bb:149)
at Object.invokeGuardedCallbackDev (react-dom.development.js?61bb:199)
at invokeGuardedCallback (react-dom.development.js?61bb:256)
at safelyCallComponentWillUnmount (react-dom.development.js?61bb:15806)
I get this error while using with webpack 4.