UNPKG

@reduxjs/toolkit

Version:

The official, opinionated, batteries-included toolset for efficient Redux development

10 lines (8 loc) 371 B
import type { EndpointDefinitions } from '@reduxjs/toolkit/dist/query/endpointDefinitions' // For TS 4.0 and earlier, disallow use of the per-endpoint // hooks defined at the root of each API object, because we // can't use the string literal types here. export declare type HooksWithUniqueNames< Definitions extends EndpointDefinitions > = unknown export {}