masto
Version:
Mastodon API client for JavaScript, TypeScript, Node.js, browsers
8 lines (7 loc) • 332 B
TypeScript
import { type ActionDispatcher, type AnyAction } from "../../interfaces/index.js";
type CreateActionProxyOptions = {
readonly context?: string[];
readonly applicable?: boolean;
};
export declare const createActionProxy: <T>(actionDispatcher: ActionDispatcher<AnyAction>, options?: CreateActionProxyOptions) => T;
export {};