跳到正文

Type Alias: ObjectHook<T, O>

ts
type ObjectHook<T, O> = T | (object & object & O)

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2695

A hook in a function or an object form with additional properties.

Type Parameters

T

T

The type of the hook function.

O

O = { }

Additional properties that are specific to some hooks.

./docs/object-hook.md

Released under the MIT License.