Closed Webrow closed 1 year ago
Please share some code to replicate the bug
I'm facing the same issue.
Please share some code to replicate the bug
<ng-particles
[id]="id"
[options]="particlesOptions"
[particlesInit]="particlesInit"
(particlesLoaded)="particlesLoaded($event)"
></ng-particles>
This is a sample code posted on README
. And All of my codes are same with sample codes. but error occur.
My version : Angular 15
and ng-particles 3.11.0
+) In version 3.9.3, everything is great.
3.11.0
is built with Angular 16 as can be seen here: https://github.com/tsparticles/angular/blob/6ecc7f4b17a30f4930dbedf4715aa329c9fe9139/components/particles/package.json#L81
[ng] Property '"options"' is incompatible with index signature. [ng] Type '{ alias: "options"; required: false; }' is not assignable to type 'string'.
Version 2.10.1 (3.10.1 ng-articles).
When doing a clean install, there is a typescript error: