valor-software / ng2-select

Angular based replacement for select boxes
http://valor-software.github.io/ng2-select/
MIT License
676 stars 588 forks source link

Using `fullTemplateTypeCheck` flag in the typescript `angularCompilerOptions` raise an error #970

Open gapinto opened 5 years ago

gapinto commented 5 years ago

Hi guys, When I turn on fullTemplateTypeCheck

"angularCompilerOptions": { "genDir": "build/aot", "skipMetadataEmit" : true, "fullTemplateTypeCheck": true, "preserveWhitespaces": true }

I got this error: ERROR in node_modules/ng2-select/select/select.d.ts.SelectComponent.html(20,129): : Property 'removeClick' is protected and only accessible within class 'SelectComponent' and its subclasses. node_modules/ng2-select/select/select.d.ts.SelectComponent.html(12,11): : Property 'matchClick' is protected and only accessible within class 'SelectComponent' and its subclasses. node_modules/ng2-select/select/select.d.ts.SelectComponent.html(37,16): : Property 'isActive' is protected and only accessible within class 'SelectComponent' and its subclasses...