@rtbjs/use-state
Version:
`@rtbjs/use-state` is a state management tool that can act as a local state and be easily turned into a global redux state. It is an innovative approach to state management that combines the advantages of both React's useState and Redux's state management
5 lines (4 loc) • 872 B
TypeScript
import { IUser } from './types';
export declare const userApi: import("@reduxjs/toolkit/dist/query").Api<import("@reduxjs/toolkit/dist/query").BaseQueryFn<string | import("@reduxjs/toolkit/dist/query").FetchArgs, unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}, {}>, {
getMe: import("@reduxjs/toolkit/dist/query").QueryDefinition<null, import("@reduxjs/toolkit/dist/query").BaseQueryFn<string | import("@reduxjs/toolkit/dist/query").FetchArgs, unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}, {}>, "ReduxHistoryItems" | "Companies" | "Projects" | "Posts" | "Users", IUser, "mainApi">;
}, "mainApi", "ReduxHistoryItems" | "Companies" | "Projects" | "Posts" | "Users", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;