Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 303 Bytes
/// <reference types="node" />
import { Omit } from "typelevel-ts";
declare module "mobx-react" {
export function inject<D extends object>(
mapStoresToProps: (stores: any) => D
): <A extends D>(
component: React.ComponentType<A>
) => React.ComponentType<Omit<A, keyof D> & Partial<D>>;
}