mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-01 03:05:36 +08:00
make Layer apis curried (#345)
This commit is contained in:
@@ -639,4 +639,4 @@ const makeFileSystem = Effect.map(Effect.serviceOption(FileSystem.WatchBackend),
|
||||
* @since 1.0.0
|
||||
* @category Layers
|
||||
*/
|
||||
export const layer: Layer.Layer<FileSystem.FileSystem> = Layer.effect(FileSystem.FileSystem, makeFileSystem)
|
||||
export const layer: Layer.Layer<FileSystem.FileSystem> = Layer.effect(FileSystem.FileSystem)(makeFileSystem)
|
||||
|
||||
Reference in New Issue
Block a user