Skip to content

postgrelize / HooksOption

Type Alias: HooksOption ​

HooksOption = Partial<Readonly<Record<HookType, HookFunction | readonly HookFunction[]>>>

Defined in: src/hooks/hooks.ts:74

Hooks passed in init({ hooks }) / define({ hooks }): one function or a list per hook type.

Released under the MIT License.