# EventHandler.Services

Extracts the Effect service requirements of an `EventHandler`.

## Signatures

```ts
export type Services<T> = T extends EventHandler<infer _Ev, infer _E, infer R> ? R : never;
```

## Why

Template inference uses this helper to preserve the handler's `R` channel.

## Ownership and lifetime

This is a compile-time projection and acquires no services.

## Examples

```ts
import type { EventHandler, Services } from "@typed/template/EventHandler"

type Requirements = Services<EventHandler<MouseEvent, never, Console>>
```
