Skip to content

Commit 3e03041

Browse files
FredyCevenchange4
authored andcommitted
fix(ts): Update typings to allow additional DocumentNode (#78)
1 parent c2b34a1 commit 3e03041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import { DocumentNode } from 'graphql';
22

33
export function loader(path: string): DocumentNode;
4-
export function gql(taggedTemplateLiteral: TemplateStringsArray): DocumentNode;
4+
export function gql(taggedTemplateLiteral: TemplateStringsArray, ...nodes: DocumentNode[]): DocumentNode;

0 commit comments

Comments
 (0)