@tdi2/di-core
Version:
TypeScript Dependency Injection 2 - Core DI framework
13 lines (12 loc) • 373 B
TypeScript
import type { InjectOptional } from "@tdi2/di-core/markers";
import { LoggerInterface } from "./shared-types";
interface BaseProps {
id: string;
}
export declare function ComplexPropsSpreading(props: BaseProps & {
services: {
logger?: InjectOptional<LoggerInterface>;
};
onClick?: () => void;
}): import("react/jsx-runtime").JSX.Element;
export {};