UNPKG

@graphiql/react

Version:

[Changelog](https://github.com/graphql/graphiql/blob/main/packages/graphiql-react/CHANGELOG.md) | [API Docs](https://graphiql-test.netlify.app/typedoc/modules/graphiql_react.html) | [NPM](https://www.npmjs.com/package/@graphiql/react)

6 lines (5 loc) 220 B
import { ExtractState, StoreApi } from 'zustand'; export declare const createBoundedUseStore: <S extends StoreApi<unknown>>(store: S) => { (): ExtractState<S>; <T>(selector: (state: ExtractState<S>) => T): T; };