chenqingspring / ng-lottie

Render After Effects animations on Angular based on lottie-web
MIT License
340 stars 100 forks source link

Not working in Angular 14.2 #96

Open cmschandan opened 1 year ago

cmschandan commented 1 year ago

Hey Geeks, I am trying to install ngx lottie. but it's showing below errors in my application

`node_modules/ngx-lottie/lib/base.directive.d.ts:69:18 - error TS2707: Generic type 'ɵɵDirectiveDeclaration' requires between 6 and 8 type arguments.

69 static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDirective, "[lottie]", never, { "options": "options"; "containerClass": "containerClass"; "styles": "styles"; }, { "animationCreated": "animationCreated"; "complete": "complete"; "loopComplete": "loopComplete"; "enterFrame": "enterFrame"; "segmentStart": "segmentStart"; "configReady": "configReady"; "dataReady": "dataReady"; "domLoaded": "domLoaded"; "destroy": "destroy"; "error": "error"; }, never, never, false, never>; ` image