Hi people, I have been using arcgis core library from past 3 months for my project. I wanted to use the reference scale feature of the heatmap, but unfortunately updating my library from 4.22 to 4.24 is breaking my code showing this error in react.

Can any one help me with this?