Skip to content

Instantly share code, notes, and snippets.

@tomitrescak
Created July 25, 2018 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomitrescak/3b7e69c0c61fb5aa8437a5752469fa47 to your computer and use it in GitHub Desktop.
Save tomitrescak/3b7e69c0c61fb5aa8437a5752469fa47 to your computer and use it in GitHub Desktop.
export type Resolver<T, U = any> = {
 [index: string]: { // this is a problem
 [P in keyof Partial<T>]: (parent: T, args: U, ctx: Context, info: GraphQLResolveInfo) => any
 }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment