<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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)

