Skip to content

Commit

Permalink
fix: allow array as a sub-type
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Oct 7, 2018
1 parent 798664a commit f1945a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable import/exports-last, flowtype/require-types-at-top */

export type SerializableObjectType = {
+[key: string]: string | number | null | SerializableObjectType
+[key: string]: string | number | null | SerializableObjectType | $ReadOnlyArray<SerializableObjectType>
};

export type RoarrGlobalStateType = {|
Expand Down

0 comments on commit f1945a3

Please sign in to comment.