Skip to content

Commit 4d035ab

Browse files
authored
Merge pull request #70 from maoueh/patch-1
Fixed missing ending > in `gqlFetch` definition
2 parents 3074355 + 2c4b6f2 commit 4d035ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ type GqlFetchResult<TData = any> = {
146146
errors?: Error[];
147147
}
148148
149-
export function gqlFetch<TData = any, TVariables = Record<string, any>(operation: TypedDocumentNode<TData, TVariables>, variables?: TVariables): GqlFetchResult<TData>;
150-
export function gqlFetch<TData = any, TVariables = Record<string, any>(operation: DocumentNode, variables?: TVariables): GqlFetchResult<TData> {
149+
export function gqlFetch<TData = any, TVariables = Record<string, any>>(operation: TypedDocumentNode<TData, TVariables>, variables?: TVariables): GqlFetchResult<TData>;
150+
export function gqlFetch<TData = any, TVariables = Record<string, any>>(operation: DocumentNode, variables?: TVariables): GqlFetchResult<TData> {
151151
// ...
152152
}
153153
```

0 commit comments

Comments
 (0)