import * as PropTypes from "prop-types"; import * as React from "react"; export class Provider extends React.Component { static childContextTypes = { injected: any, }; } export function inject>(...names: string[]): (base: T) => React.ComponentClass { return (Component) => { return class extends React.Component { }; }; }