# 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:2829

##### Index

### Properties

data
name

## Properties

### data

data: HookEvents[K]

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

### name

name: K

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