Skip to content

Commit d77d59b

Browse files
committed
fix: restore satisfies type guard on runServer to enforce ServerConfig-only requirement
1 parent 9883959 commit d77d59b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/server/src/server.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,8 @@ export const makeServerLayer = Layer.unwrap(
230230
);
231231

232232
// Important: Only `ServerConfig` should be provided by the CLI layer!!! Don't let other requirements leak into the launch layer.
233-
export const runServer = Layer.launch(makeServerLayer);
233+
export const runServer = Layer.launch(makeServerLayer) satisfies Effect.Effect<
234+
never,
235+
any,
236+
ServerConfig
237+
>;

0 commit comments

Comments
 (0)