Skip to content

Commit 18add8b

Browse files
committed
add app parameter type
1 parent 25d1c67 commit 18add8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// TypeScript Version: 2.3
22

3-
import { Hook, HookContext, Params, Query, Paginated } from '@feathersjs/feathers';
3+
import { Hook, HookContext, Params, Query, Paginated, Application } from '@feathersjs/feathers';
44
import * as ajv from 'ajv';
55
import { GraphQLSchema } from 'graphql';
66

@@ -200,9 +200,9 @@ export interface ResolverMap<T> {
200200
export function fastJoin(resolvers: ResolverMap<any> | SyncContextFunction<ResolverMap<any>>, query?: Query | SyncContextFunction<Query>): Hook;
201201

202202
interface IFGraphqlOptions {
203-
parse: (schema: any /* GraphqlSchema */) => any;
203+
parse: (schema: GraphQLSchema) => any;
204204
recordType: string;
205-
resolvers: (app: any /* App */, runtime: any) => ResolverMap<any>;
205+
resolvers: (app: Application, runtime: any) => ResolverMap<any>;
206206
schema: GraphQLSchema;
207207
query: any /* Query? */;
208208
runTime: any;

0 commit comments

Comments
 (0)