Closed shayanhusaini closed 7 years ago
Thanks for pointing this out. However, I am unable to reproduce this error on my local machine. Can you share which version of typescript you are using?
Upgrading to a newer version should resolve the issue. I will also update the code.
Hi, I am getting following error when compiling your library: Type
EventEmitter<{}>
is not assignable to typeEventEmitter<WizardStepComponent>
.After a brief look into your code I found that line 41 in your wizard.component.ts file should be like this:
@Output() onStepChanged: EventEmitter<WizardStepComponent> = new EventEmitter<WizardStepComponent>();
Instead of this:
@Output() onStepChanged: EventEmitter<WizardStepComponent> = new EventEmitter();
Please update your code ASAP.