andreasbm / masonry-layout

An efficient and fast web component that gives you a beautiful masonry layout

Home Page:https://codepen.io/andreasbm/pen/gOOdqVy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular / Ionic support

mburger81 opened this issue · comments

Hello, we are trying to use your masonry lib in our angular/ionic5 app.

Importing your lib like thisimport '@appnest/masonry-layout';we run into errors like this.

[ng] node_modules/@appnest/masonry-layout/masonry-layout.d.ts:53:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 53     get debounce(): number;
[ng]            ~~~~~~~~
[ng] node_modules/@appnest/masonry-layout/masonry-layout.d.ts:57:17 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 57     private get $columns();
[ng]                    ~~~~~~~~

Can you help?