UNPKG

react-obsidian

Version:

Dependency injection framework for React and React Native applications

5 lines 503 B
import { ObjectGraph } from '../../graph/ObjectGraph'; import { Constructable } from '../../types'; export declare function injectHookWithArguments<Injected, Own, Result = {}>(hook: (args: Injected & Own) => Result, Graph: Constructable<ObjectGraph>): (props: Own & Partial<Injected>) => Result; export declare function injectHook<Injected, Result = {}>(hook: (args: Injected) => Result, Graph: Constructable<ObjectGraph>): (props?: Partial<Injected>) => Result; //# sourceMappingURL=InjectHook.d.ts.map