Thanks the solution @Wojciech Chmiel, it helped me a lot.
However with the latest version of the high charts, angular and other dependencies the above mentioned solution was not working. It was giving me below error
This expression is not callable.
Type 'typeof import("/node_modules/highcharts/modules/networkgraph")' has no call signatures.ts(2349)
The dependencies and the versions i have are as below
"@angular/animations": "^9.0.6",
"@angular/cdk": "^9.1.3",
"@angular/common": "^9.0.6",
"@angular/compiler": "^9.0.6",
"@angular/core": "^9.0.6",
"@angular/forms": "^9.0.6",
"@angular/http": "^7.2.16",
"@angular/platform-browser": "^9.0.6",
"@angular/platform-browser-dynamic": "^9.0.6",
"@angular/router": "^9.0.6",
angular-highcharts": "^9.0.2",
highcharts": "^8.0.4",
highcharts-angular": "^2.4.0",
The solution i have is
import * as Highcharts from "highcharts";
import HighchartsNetworkgraph from "highcharts/modules/networkgraph";
import HighchartsExporting from "highcharts/modules/exporting";
HighchartsNetworkgraph(Highcharts);
HighchartsExporting(Highcharts);