UNPKG

inversify-graphql

Version:

Builds dependency-inverted GraphQL schemas with InversifyJS

8 lines (7 loc) 374 B
import * as inv from 'inversify'; import { InversifyBuilder } from './interfaces'; /** * Creates a GraphQL list of an inversify type * @param ctor The type builder to make a list of */ export declare function InversifyList<TSource, TContext>(ctor: inv.interfaces.Newable<InversifyBuilder<TSource, TContext>>): inv.interfaces.Newable<InversifyBuilder<TSource, TContext>>;