UNPKG

@tdi2/di-core

Version:

TypeScript Dependency Injection 2 - Core DI framework

21 lines (20 loc) 566 B
import type { Inject, InjectOptional } from "@tdi2/di-core/markers"; import { ApiInterface, LoggerInterface } from './shared-types'; export declare function DeepDestructuring(props: { user: { profile: { settings: { theme: string; notifications: boolean; }; }; }; config: { apiUrl: string; timeout: number; }; services: { api: Inject<ApiInterface>; logger?: InjectOptional<LoggerInterface>; }; }): import("react/jsx-runtime").JSX.Element;