Function: withoutHooks()
withoutHooks<T
, R
>(hookable
, callback
): R
extends Promise
<A
> ? Promise
<A
> : R
Type parameters
• T extends Hookable
<any
>
• R
Parameters
• hookable: T
• callback
Returns
R
extends Promise
<A
> ? Promise
<A
> : R
Source
packages/core/src/hooks/withoutHooks.ts:4