Meet Angular's new output() API
Briefly

The new output API provides a simpler and safer way to declare outputs in directives.
The new output API offers more correct types for emitting values compared to the existing @Output API with EventEmitter.
output() - Declares an Angular output. You can emit values by invoking the .emit function.
To get started with this new API, import the output function from @angular/core...
Read at Medium
[
|
]