simple-graphql
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -73,3 +73,3 @@ import { GraphQLFieldResolver, GraphQLInputType, GraphQLInterfaceType, GraphQLOutputType, GraphQLResolveInfo } from 'graphql'; | ||
} | ||
export declare type SGFieldResolve<T = any> = (source: T, args: { | ||
export declare type SGFieldResolve<Source = any> = (source: Source, args: { | ||
[key: string]: any; | ||
@@ -79,3 +79,3 @@ }, context: SGResolveContext, info: GraphQLResolveInfo, sgContext: SGContext) => any; | ||
[key: string]: any; | ||
}, context: SGResolveContext, info: GraphQLResolveInfo, sgContext: SGContext) => T; | ||
}, context: SGResolveContext, info: GraphQLResolveInfo, sgContext: SGContext) => Promise<T>; | ||
export declare type SGTypeConfig = { | ||
@@ -82,0 +82,0 @@ name: string; |
{ | ||
"name": "simple-graphql", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
339101