---
sidebar_label: Handler
# Handler type
**Signature:**
```typescript
declare type Handler<T = any> = (event?: T) => void;
```