When using events, if the 'event' parameter is not explicitly used, the generated code still includes an unnecessary 'event' parameter. This is a request to optimize the generated code.
### I am interested in helping provide a feature! Yes ### Which generators are impacted? - [X] All - [ ] Angular - [ ] HTML - [ ] Qwik - [ ] React - [ ] React-Native - [ ] Solid - [ ] Stencil - [ ] Svelte - [ ] Vue - [ ] Web components ### What problem does this feature solve? When using events, if the `event` is not used but the generated frame still generates an unnecessary `event`, the `event` will be used. <img width="1737" alt="image" src="https://github.com/BuilderIO/mitosis/assets/75017711/b4fd6334-bca5-4a81-b8b0-88b9175c5a47"> ### What does the proposed API look like? Delete useless `event`. ### Additional Information _No response_