import { get } from '@typed/effects' ; import { HookEffects , HookEnv , HookEnvironment } from './types' ; export function * getHookEnv ( ) { const { hookEnvironment } = yield * get < HookEnv > ( ) ; return hookEnvironment ; }