stencil-ds-plugins-demo
stencil-ds-plugins-demo copied to clipboard
Property 'subscribe' does not exist on type 'EventEmitter<SlideValue>'.
When using the web components generated using @stencil/[email protected]
, in an Angular 12.2.0
, I get the following error in props of type @Event()
Property 'subscribe' does not exist on type 'EventEmitter<SlideValue>'.
Using the same components in an Angular 8.2.14
, everything works perfectly.
It is noteworthy that even in version 12.2.0
of Angular, if I go to EventEmitter
and add a prop called subscribe: any;
, the events work normally. Appears to be a problem related to typing only.
Here is an Angular repository with the mentioned problem. It's consuming a web component library that I just published for testing. https://github.com/reginaldoboeke/angular-stencil
Is this issue already known?