HookEventConstructor
type HookEventConstructor<T> = (...args) => T;Defined in: src/hooks/types.ts:8
Type for a constructor function that creates HookEvent instances.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T extends HookEvent | HookEvent |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args | any[] |
Returns
Section titled “Returns”T