Function: extractHooks()¶
extractHooks(
hooksBlock):HookDefinition[]
Defined in: formatters/src/hook-adapters.ts:41
Extract hook definitions from a parsed
Parameters¶
hooksBlock¶
content¶
{ properties?: Record\<string, Value>; type: string; }
content.properties?¶
Record\<string, Value>
content.type¶
string
Returns¶
Hooks¶
block.