Skip to content

Commit

Permalink
fix: make meta optional as documented (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arelav authored and JaKXz committed May 7, 2018
1 parent 837d65a commit 327d03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Expand Up @@ -23,7 +23,7 @@ export interface FluxStandardAction<Payload, Meta = undefined> {
* The optional `meta` property MAY be any type of value.
* It is intended for any extra information that is not part of the payload.
*/
meta: Meta;
meta?: Meta;
}

export interface ErrorFluxStandardAction<CustomError extends Error, Meta = undefined> extends FluxStandardAction<CustomError, Meta> {
Expand Down

0 comments on commit 327d03c

Please sign in to comment.