initial commit

This commit is contained in:
Stuart Taylor
2018-04-06 14:51:52 +01:00
committed by Mrugesh Mohapatra
parent 1314830576
commit 15aae9a57c
146 changed files with 44507 additions and 8380 deletions

View File

@@ -0,0 +1,9 @@
export function createTypes(types, ns) {
return types.reduce(
(types, action) => ({
...types,
[action]: `${ns}.${action}`
}),
{}
);
}