The linter only works in CI...

This commit is contained in:
Mike Marcacci
2019-03-27 12:22:22 -07:00
parent 32a7d387fb
commit 5f6e66d5de
2 changed files with 4 additions and 4 deletions
+4 -4
View File
@@ -7,20 +7,20 @@
import { GraphQLSchema } from "graphql";
import { Middleware, ParameterizedContext } from "koa";
interface ExecuteOptions {
export interface ExecuteOptions {
schema?: GraphQLSchema;
rootValue?: any;
contextValue?: any;
fieldResolver?: any;
}
export const errorHandler: <StateT = any, CustomT = {}>() => Middleware<
export function errorHandler<StateT = any, CustomT = {}>(): Middleware<
StateT,
CustomT
>;
export const execute: <StateT = any, CustomT = {}>(
export function execute<StateT = any, CustomT = {}>(
options: ExecuteOptions & {
override?: (ctx: ParameterizedContext<StateT, CustomT>) => ExecuteOptions;
}
) => Middleware<StateT, CustomT>;
): Middleware<StateT, CustomT>;