UNPKG

@tdi2/di-core

Version:

TypeScript Dependency Injection 2 - Core DI framework

10 lines (9 loc) 302 B
import type { Inject, InjectOptional } from "@tdi2/di-core/markers"; import { ApiInterface, LoggerInterface } from "./shared-types"; export interface ImportedComponentProps { data: any[]; services: { api: Inject<ApiInterface>; logger?: InjectOptional<LoggerInterface>; }; }