score:1

Accepted answer

In cases when TS definitions are missing you have basically two options:

  1. Cast to as any - I wouldn't recommend that.

  2. Extend the existing interface with the missing property - recommended

interface CustomPoint extends Highcharts.Point {
  value: number;
}

Demo: https://stackblitz.com/edit/highcharts-angular-basic-line-lxbwzx
Docs: https://github.com/highcharts/highcharts-angular#help-and-faq


Related Query

More Query from same tag