Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
fix: πŸ› Allow createAction with type
Browse files Browse the repository at this point in the history
  • Loading branch information
Pham Tuan Manh authored and manhhailua committed Aug 27, 2019
1 parent f348504 commit 17946e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ export function createActionTypeOnFinish(key: string): string;

export function createActionTypeOnSuccess(key: string): string;

export function createAction(type: string): UnfoldSagaActionExecutionType;
export function createAction<P, O>(type: string): UnfoldSagaActionExecutionType<P, O>;

export function unfoldSaga(type: UnfoldSagaHandlerType, callback: UnfoldSagaCallbacksType): any;

0 comments on commit 17946e4

Please sign in to comment.