inversify-graphql
Version:
Builds dependency-inverted GraphQL schemas with InversifyJS
8 lines (7 loc) • 334 B
TypeScript
import { interfaces } from 'inversify';
import { InversifyType } from './interfaces';
import { GraphQLOutputType } from 'graphql';
export declare abstract class ITypeCache {
abstract buildType<TSource, TContext>(builder: InversifyType<TSource, TContext>): GraphQLOutputType;
abstract get<T>(ctor: interfaces.Newable<T>): T;
}