import {Container} from './Container' import {TypedDependencyKey} from './types' import {Pipeline} from '../util' export type Constructable = Pipeline export function constructable(key: TypedDependencyKey): Constructable { return new Pipeline( container => container.make(key), ) }