mgechev / ngx-quicklink

Quicklink prefetching strategy for the Angular router
MIT License
752 stars 43 forks source link

Error in Angular 15.2.4, typescript@4.9.5, node v18.16.0 #153

Open innolabsinfo opened 1 year ago

innolabsinfo commented 1 year ago

Error: node_modules/ngx-quicklink/lib/link.directive.d.ts:17:82 - error TS2344: Type '{ routerLink: { alias: "routerLink"; required: false; }; }' does not satisfy the constraint '{ [key: string]: string; }'. Property '"routerLink"' is incompatible with index signature. Type '{ alias: "routerLink"; required: false; }' is not assignable to type 'string'.

17 static ɵdir: i0.ɵɵDirectiveDeclaration<LinkDirective, "[routerLink]", never, { "routerLink": { "alias": "routerLink"; "required": false; }; }, {}, never, never, true, never>;

emondora commented 1 year ago

same error here

innolabsinfo commented 1 year ago

Please take a look at this and help :-)

thedang commented 7 months ago

Hi all, do you have fixed for isssue ?