Type Error with Custom Layer Implementation
I'm trying to define a custom KeyValueStore implementation, but I'm bumping into a type error.
Why is this giving a type error as if it expects me to declare all the methods including
https://effect.website/play#2d540e8245f9
https://github.com/Effect-TS/effect/blob/29f1f277e6620a1d5400e2280e95ecac77526096/packages/platform/src/internal/keyValueStore.ts#L169-L191
Why is this giving a type error as if it expects me to declare all the methods including
modifyUint8Array? AFAICT I'm doing exactly the same thing as the built in layerMemory does.. which doesn't declare those methods, instead relying on the default implementations that KeyValueStore.make provides.https://effect.website/play#2d540e8245f9
https://github.com/Effect-TS/effect/blob/29f1f277e6620a1d5400e2280e95ecac77526096/packages/platform/src/internal/keyValueStore.ts#L169-L191
