cipchk / ngx-countdown

Simple, easy and performance countdown for angular
https://cipchk.github.io/ngx-countdown/
MIT License
192 stars 57 forks source link

Error: ../node_modules/ngx-countdown/countdown.component.d.ts:63:84 #124

Closed TylarZhu closed 1 year ago

TylarZhu commented 1 year ago

Bug Report or Feature Request (mark with an x)


[x] Bug report -> please search issues before submitting
[ ] Feature request
[ ] Documentation issue or request

Current behavior

Capture

I saw Issue #121 and tried removing the node_modules and reinstalling all dependencies but still not working.

I searched for why it does not satisfy the constraint '{ [key: string]: string; }'. I think it has to do something with the OutputMap property inside ɵɵComponentDeclaration.

Expected behavior

I think something regard to error TS2344

Environment


Angular version: 15.2.9

ngx-countdown version: 16.0.0
TylarZhu commented 1 year ago

I fixed the problem by updating the Angular version to 16.2.0, removing the node_modules and reinstalling all dependencies.