[codex] Remove redundant Effect type annotations (#3229)
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
7eda6ba5fc
commit
9a1c4875a3
14 files changed
+69
-123
No files matched your search
@@ -191,11 +191,7 @@ const make = Effect.acquireRelease(
|
||||
}),
|
||||
);
|
||||
|
||||
export const layer: Layer.Layer<
|
||||
McpSessionRegistry,
|
||||
never,
|
||||
Crypto.Crypto | ServerEnvironment.ServerEnvironment | HttpServer.HttpServer
|
||||
> = Layer.effect(McpSessionRegistry, make);
|
||||
export const layer = Layer.effect(McpSessionRegistry, make);
|
||||
|
||||
export const issueActiveMcpCredential = (
|
||||
request: McpCredentialRequest,
|
||||
|
||||
@@ -114,11 +114,7 @@ export const deriveProviderInstanceConfigMap = (
|
||||
* configs, so the only way the watcher could fail is a settings stream
|
||||
* tear-down, which logs and exits cleanly.
|
||||
*/
|
||||
const SettingsWatcherLive: Layer.Layer<
|
||||
never,
|
||||
never,
|
||||
ProviderInstanceRegistryMutator | ServerSettingsService
|
||||
> = Layer.effectDiscard(
|
||||
const SettingsWatcherLive = Layer.effectDiscard(
|
||||
Effect.gen(function* () {
|
||||
const mutator = yield* ProviderInstanceRegistryMutator;
|
||||
const serverSettings = yield* ServerSettingsService;
|
||||
|
||||
Reference in new issue
Block a user