evseevdev/ngx-textarea-autosize

Resize method should be public

icokk opened this issue · 3 comments

icokk commented

Angular compiler with "fullTemplateTypeCheck": true parameters shows error at usage site of autosize unless resize() is made public. Apparently methods decorated with @HostListener need to be public.

I confirmed. For now app build failed with

Property 'resize' is private and only accessible within class 'AutosizeDirective'.

AOT build failed.

Property 'resize' is private and only accessible within class 'AutosizeDirective'.