# Type Alias HookData<K>

type HookData<K extends keyof HookEvents = keyof HookEvents> = {
data: HookEvents[K];
name: K;
}

#### Type Parameters

- K extends keyof HookEvents = keyof HookEvents

- Defined in jslib/src/lib/types/types.ts:2828

##### Index

### Properties

data
name

## Properties

### data

data: HookEvents[K]

- Defined in jslib/src/lib/types/types.ts:2830

### name

name: K

- Defined in jslib/src/lib/types/types.ts:2829