It works fine up to v3.0.0. Latest update caused an error on our build pipeline with what it seems to be breaking changes introduced on v3.1.0.
An unhandled exception occurred: node_modules/highcharts-angular/lib/highcharts-chart.component.d.ts:24:18 -
error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).
24 static ɵcmp: i0.ɵɵComponentDeclaration<
HighchartsChartComponent,
"highcharts-chart",
never, {
"Highcharts": "Highcharts";
"constructorType": "constructorType";
"callbackFunction": "callbackFunction";
"oneToOne": "oneToOne";
"runOutsideAngular": "runOutsideAngular";
"options": "options";
"update": "update";
}, {
"updateChange": "updateChange";
"chartInstance": "chartInstance";
},
never,
never,
false,
never
>;
Minor version changes to be compatible.
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"module": "es2020",
"target": "es2017",
"typeRoots": ["node_modules/@types"],
"lib": ["es2017", "dom", "es2019", "ESNext.BigInt"],
}
},
"angularCompilerOptions": {
"strictTemplates": false,
"compilationMode": "partial"
}
}
Describe the bug
It works fine up to v3.0.0. Latest update caused an error on our build pipeline with what it seems to be breaking changes introduced on v3.1.0.
Expected behavior
Minor version changes to be compatible.
Setup used
NodeJS version: 14
Angular version: 13.3.4
TypeScript version: 4.6.4