import { registerHooks } from "https://deno.land/x/alosaur@v0.33.0/src/utils/register-hooks.ts";
Register hooks and resolve hook instance by type in layer
Parameters
layer: { object: Function; container?: DependencyContainer; hooks: HookMetadataArgs<TState, any>[]; }
optional
hooks: HookMetadataArgs<TState, any>[] = [UNSUPPORTED]optional
type: BusinessType = [UNSUPPORTED]