UNPKG

@tdi2/di-core

Version:

TypeScript Dependency Injection 2 - Core DI framework

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