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

##### Index

### Properties

data
name

## Properties

### data

data: HookEvents[K]

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

### name

name: K

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