When using the web components generated using @stencil/angular-output-target@0.0.7, 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.
When using the web components generated using
@stencil/angular-output-target@0.0.7
, in an Angular12.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 version12.2.0
of Angular, if I go toEventEmitter
and add a prop calledsubscribe: 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?