UNPKG

core-native

Version:

A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.

7 lines (6 loc) 258 B
import { CallEffect } from "redux-saga/effects"; interface CallWithResultEffect<R> extends CallEffect { result: () => R; } export declare const call: <R, P extends any[]>(fn: (...args: P) => Promise<R>, ...args: P) => CallWithResultEffect<R>; export {};