UNPKG

@tdi2/di-core

Version:

TypeScript Dependency Injection 2 - Core DI framework

14 lines (13 loc) 514 B
import type { Inject, InjectOptional } from "@tdi2/di-core/markers"; import { ApiInterface, LoggerInterface, CacheInterface } from "./shared-types"; /** * TODO optinoal should still resolve not "?? undefined" in transformed */ export declare function InlineWithDestructuring(props: { message: string; services: { api: Inject<ApiInterface>; logger?: InjectOptional<LoggerInterface>; cache?: InjectOptional<CacheInterface<any>>; }; }): import("react/jsx-runtime").JSX.Element;