selemxmn / ngx-print

:printer: A plug n' play Angular (2++) library to print your stuff
MIT License
164 stars 59 forks source link

Property '"previewOnly"' is incompatible with index signature. Type '{ alias: "previewOnly"; required: false; }' is not assignable to 'string' #178

Closed rodmjay closed 10 months ago

rodmjay commented 10 months ago

Describe the bug When upgrading to 1.5 from 1.2 I get get compile error

To Reproduce upgrade to 1.5 version

Expected behavior No compile errors

Screenshots If applicable, add screenshots to help explain your problem.

Ngx-Print Version 1.5

Desktop (please complete the following information):

Core121 commented 10 months ago

What version of angular are you on?

rodmjay commented 10 months ago

15.2.9

Core121 commented 10 months ago

Angular 15.2.9 should still be on 1.3.1. Unfortunately 1.5.x isn't supported on Angular 15. Our readme shows which ngx-print versions support each version of angular. image