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

##### Index

### Properties

data
name

## Properties

### data

data: HookEvents[K]

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

### name

name: K

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