UNPKG

@nimel/directorr

Version:
14 lines (13 loc) 686 B
import { DecoratorValueTypedWithType, SomeAction, SomeEffect } from './types'; export declare function createActionAndEffect<P = any, SP = any, EP = { error: Error; }, LP = any, T = string>(actionType: T): [ DecoratorValueTypedWithType<P, SomeAction<P | null>, T>, DecoratorValueTypedWithType<P, SomeEffect<P>, T>, DecoratorValueTypedWithType<SP, SomeAction<SP | null>, T>, DecoratorValueTypedWithType<SP, SomeEffect<SP>, T>, DecoratorValueTypedWithType<EP, SomeAction<EP | null>, T>, DecoratorValueTypedWithType<EP, SomeEffect<EP>, T>, DecoratorValueTypedWithType<LP, SomeAction<LP | null>, T>, DecoratorValueTypedWithType<LP, SomeEffect<LP>, T> ];