UNPKG

@tdi2/di-core

Version:

TypeScript Dependency Injection 2 - Core DI framework

16 lines (15 loc) 541 B
import type { Inject } from "@tdi2/di-core/markers"; import { ApiInterface, LoggerInterface } from "./shared-types"; export declare function FirstComponent(props: { services: { api: Inject<ApiInterface>; }; }): import("react/jsx-runtime").JSX.Element; export declare const SecondComponent: (props: { services: { logger: Inject<LoggerInterface>; }; }) => import("react/jsx-runtime").JSX.Element; export declare function ThirdComponent(props: { message: string; }): import("react/jsx-runtime").JSX.Element;