patronum
patronum copied to clipboard
Allow to call `readonly` with non-unit value
Description
added create readony store if argument(source) is non unit or not function/undefined. else return argument(source) as is https://github.com/effector/patronum/issues/332
@Rastraponovich thank you for contribution. Please, review type tests failing
@Rastraponovich thank you for contribution. Please, review type tests failing
It's not as easy as expected, I'll think about how to implement it.