masonry-layout icon indicating copy to clipboard operation
masonry-layout copied to clipboard

Angular / Ionic support

Open mburger81 opened this issue 5 years ago • 0 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?

mburger81 avatar Mar 26 '20 08:03 mburger81