Merging and reducing const asserted objects and keeping narrow types
Suppose I have some const stuff:
And I want to merge all of those into:
Easy enough with some javascript array flatmap + reduce but can I do that with Effect's to produce the final object with narrow types (keeping the const asserted narrow types) so that I can actuall read the output from the types?
And I want to merge all of those into:
Easy enough with some javascript array flatmap + reduce but can I do that with Effect's to produce the final object with narrow types (keeping the const asserted narrow types) so that I can actuall read the output from the types?
