@empathyco/x-components
Version:
Empathy X Components
16 lines (9 loc) • 556 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [WireForEvent](./x-components.wireforevent.md)
## WireForEvent type
Alias for a wire with the type of the event payload.
**Signature:**
```typescript
export type WireForEvent<Event extends XEvent> = Wire<XEventPayload<Event>>;
```
**References:** [XEvent](./x-components.xevent.md)<!-- -->, [Wire](./x-components.wire.md)<!-- -->, [XEventPayload](./x-components.xeventpayload.md)