UNPKG

@tdi2/di-core

Version:

TypeScript Dependency Injection 2 - Core DI framework

10 lines (9 loc) 373 B
import type { Inject, InjectOptional } from "@tdi2/di-core/markers"; import { ApiInterface, UserServiceInterface } from './shared-types'; export declare function InlineWithoutDestructuring(props: { title: string; services: { api: Inject<ApiInterface>; user?: InjectOptional<UserServiceInterface>; }; }): import("react/jsx-runtime").JSX.Element;