TS2730

An arrow function cannot have a 'this' parameter.

Broken Code ❌

const loadInitialData = (this: Highcharts.Chart): void => {
  // ...
};

Fixed Code ✔️

You have to turn the arrow function expression into to a function declaration:

function loadInitialData(this: Highcharts.Chart): void {
  // ...
}