Skip to content

Commit

Permalink
chore: Fix createClient type export (misused jsdoc types)
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh committed Nov 12, 2023
1 parent 5230941 commit 60cf11e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/openneuro-client/src/client.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApolloClient, Query } from '@apollo/client'
import { ApolloClient, Query } from "@apollo/client"

export declare function createClient(
uri: string,
Expand All @@ -10,9 +10,9 @@ export declare function createClient(
ssrMode?: boolean
cache?: ApolloCache
},
): ApolloClient<*>
): ApolloClient<any>

export declare async function* datasetGenerator(
export async function* datasetGenerator(
client: ApolloClient,
query: Query,
): AsyncGenerator<any>

0 comments on commit 60cf11e

Please sign in to comment.