client/src/store/index.js
author ymh <ymh.work@gmail.com>
Thu, 29 Jul 2021 16:46:43 +0200
changeset 208 d7998288c2d8
parent 168 ea92f4fe783d
permissions -rw-r--r--
Added tag 0.2.3 for changeset c39d91bd16af

import * as R from 'ramda';

export const Record = defaultValue => R.compose(R.merge(defaultValue), R.pick(R.keys(defaultValue)));