mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-14 22:10:30 +00:00
The linter only works in CI...
This commit is contained in:
Vendored
+4
-4
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user