refactor: switch output event event classes to interfaces
Converts the various event classes that we emit through @Output into interfaces in order to generate less compiled code and potentially less objects to garbage collect.
Caretaker note: we should keep an eye out on how many presubmit failures this causes and determine based on that whether it's still worth the trouble.
FYI this fixes part of #7191.
@crisbeto I ran a presubmit on this and found that there are quite a few places where people new their own events in unit tests. Based on that, this would have to be a major change
Any chance to ship this in v6?
This isn't going to make it in for 6.0 since it caused too many breakages inside Google. We should bump it to 7.0
Closing since this is way out of date.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.