Closed
Description
Describe the bug
None of the event hooks have proper typings when used in a HTML template. When using an event hook in html like (onChange)="onMarkdownChange($event)"
it is not recognized and will show the following message:
Event onChange is not emitted by any applicable directives nor by angular-markdown-editor element
Although this message is shown, everything still compiles successfully and my function still works as expected, so this is only an issue with typings.
Reproduction
Use an event hook like (onChange)="onMarkdownChange($event)"
Environment Info
Angular 15.2.2
Angular-Markdown-Editor 3.0.2
Typescript 4.9.5
Windows 11
Validations
- Follow our Code of Conduct
- Read the HOWTO - Step by Step.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.