Skip to content

Commit

Permalink
Add ErrorFSA alias
Browse files Browse the repository at this point in the history
  • Loading branch information
unional committed Nov 18, 2016
1 parent 421cac2 commit 133fbdf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ export interface ErrorFluxStandardAction<CustomError extends Error, Meta> extend
}

/**
* Alias to FluxStandardAction for shorthand
* Alias for FluxStandardAction.
*/
export type FSA<Payload, Meta> = FluxStandardAction<Payload, Meta>;

/**
* Alias for ErrorFluxStandardAction.
*/
export type ErrorFSA<CustomError extends Error, Meta> = ErrorFluxStandardAction<CustomError, Meta>;

/**
* Returns `true` if `action` is FSA compliant.
*/
Expand Down

0 comments on commit 133fbdf

Please sign in to comment.