Skip to content

useContextRef

@tsed/di

Usage

typescript
import { useContextRef } from "@tsed/di";

See /packages/di/src/node/utils/asyncHookContext.ts.

Overview

ts
function useContextRef(): {
    current: DIContext | undefined;
} | undefined;

current

ts
current: DIContext | undefined;

Released under the MIT License.