Skip to content

Commit

Permalink
fix(ts): Update typings to allow additional DocumentNode (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
FredyC authored and evenchange4 committed Feb 25, 2019
1 parent c2b34a1 commit 3e03041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DocumentNode } from 'graphql';

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

0 comments on commit 3e03041

Please sign in to comment.