Skip to content

Commit 43d5467

Browse files
fix(overmind-graphql): bring back extending documentnode, where did it go?
1 parent 7fd4272 commit 43d5467

File tree

1 file changed

+2
-1
lines changed
  • packages/node_modules/overmind-graphql/src

1 file changed

+2
-1
lines changed

packages/node_modules/overmind-graphql/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ import { print } from 'graphql/language/printer';
88
import { Socket as PhoenixSocket } from 'phoenix';
99

1010
import gqlTag from 'graphql-tag';
11+
import { DocumentNode } from 'graphql';
1112

12-
export interface Query<Result extends any, Payload extends any = void> {
13+
export interface Query<Result extends any, Payload extends any = void> extends DocumentNode {
1314
(payload: Payload): Result;
1415
}
1516

0 commit comments

Comments
 (0)