Refactoring
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
import { Layer } from "effect"
|
||||
import * as WebRpcTestLive from "./WebRpcTestLive"
|
||||
import type { WebRpc } from "@website/common/webrpc"
|
||||
|
||||
|
||||
export const WebRpcLive = Layer.mergeAll(
|
||||
WebRpcTestLive.WebRpcTestLive,
|
||||
) satisfies ReturnType<typeof WebRpc.WebRpc.toLayer>
|
||||
@@ -1,2 +1,10 @@
|
||||
export * as WebRpcLive from "./WebRpcLive"
|
||||
import type { WebRpc } from "@website/common/webrpc"
|
||||
import { Layer } from "effect"
|
||||
import * as WebRpcTestLive from "./WebRpcTestLive"
|
||||
|
||||
|
||||
export const WebRpcLive = Layer.mergeAll(
|
||||
WebRpcTestLive.WebRpcTestLive,
|
||||
) satisfies ReturnType<typeof WebRpc.toLayer>
|
||||
|
||||
export * as WebRpcTestLive from "./WebRpcTestLive"
|
||||
|
||||
Reference in New Issue
Block a user