graphql-mocks
Version:
Tools for setting up graphql test resolvers
10 lines (9 loc) • 421 B
TypeScript
import { GraphQLSchema } from 'graphql';
import { TypeReference, HighlighterFactory, Highlighter } from '../types';
export declare class TypeHighlighter implements Highlighter {
targets: string[];
constructor(targets: string[]);
mark(schema: GraphQLSchema): TypeReference[];
static expandTargets(schema: GraphQLSchema, targets: string[]): TypeReference[];
}
export declare const type: HighlighterFactory;