Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments #348

Closed
Nitesh7085 opened this issue Feb 16, 2023 · 1 comment

Comments

@Nitesh7085
Copy link

For general tech support, please see www.highcharts.com/support.
Please report only issues about highcharts-angular wrapper or content of this repository.
For general issues with Highcharts and TypeScript the correct repository to report such issues is main Highcharts repository.

Describe the bug

export declare class HighchartsChartComponent implements OnDestroy, OnChanges {
private el;
private _zone;
Highcharts: typeof Highcharts | typeof HighchartsESM;
constructorType: string;
callbackFunction: Highcharts.ChartCallbackFunction;
oneToOne: boolean;
runOutsideAngular: boolean;
options: Highcharts.Options;
update: boolean;
updateChange: EventEmitter;
chartInstance: EventEmitter<Highcharts.Chart>;
private chart;
constructor(el: ElementRef, _zone: NgZone);
ngOnChanges(changes: SimpleChanges): void;
wrappedUpdateOrCreateChart(): void;
updateOrCreateChart(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<HighchartsChartComponent, never>;
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>; Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.
}

@karolkolodziej
Copy link
Contributor

Hi @Nitesh7085.

It looks like you are not using the lates Angular version, please update angular or downgrade the highcharts-angular package.
See more: #345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants