Open scaljeri opened 1 year ago
Any progress on this issue?
Hello have you tried with the v 0.5.0 ?
@scaljeri Have you seen my issue https://github.com/ionic-team/stencil-ds-output-targets/issues/283 ? Could you try
myEventArr: EventEmitter<CustomEvent<Array<IMyData>>>; // Instead of EventEmitter<CustomEvent<IMyData[]>>
Prerequisites
Stencil Version
2.19.2
Stencil Framework Output Target
Angular
Stencil Framework Output Target Version
0.4.0
Current Behavior
If a Stencil Components contains
The generated output in the proxies.ts file is now as follows
So, as soon as the event emits an array of some type, the generated code uses the original name of the interface and not the mapped type.
Expected Behavior
For the generated code, it should have generated
Steps to Reproduce
See above
Code Reproduction URL
https://github.com/scaljeri/stenciljs-angular-bug.git
Additional Information
No response