Skip to content

Angular 14 compatibility #115

@Myrmex

Description

@Myrmex

Hi,
I have tried to use this library in a newly created Angular 14 project. Yet, after installing it via npm, I get a compiler error about type VisibilityState not being defined (see below). Is there any way to fix this issue and thus trying using the library in a v. 14 app?
Thank you!

Error: node_modules/ngx-pinch-zoom/lib/pinch-zoom.component.d.ts:54:25 - error TS2304: Cannot find name 'VisibilityState'.
54     get hostOverflow(): VisibilityState;
                           ~~~~~~~~~~~~~~~
Error: node_modules/ngx-pinch-zoom/lib/pinch-zoom.component.d.ts:80:20 - error TS2304: Cannot find name 'VisibilityState'.
80         overflow?: VisibilityState;
                      ~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions