refactor: unwrap FileWatcher namespace + self-reexport (redo) (#23000)

This commit is contained in:
Kit Langton
2026-04-17 02:20:43 +00:00
committed by GitHub
parent 01bb54a94d
commit 61c4815a37
+2 -2
View File
@@ -19,7 +19,6 @@ import { Log } from "../util"
declare const OPENCODE_LIBC: string | undefined declare const OPENCODE_LIBC: string | undefined
export namespace FileWatcher {
const log = Log.create({ service: "file.watcher" }) const log = Log.create({ service: "file.watcher" })
const SUBSCRIBE_TIMEOUT_MS = 10_000 const SUBSCRIBE_TIMEOUT_MS = 10_000
@@ -160,4 +159,5 @@ export namespace FileWatcher {
) )
export const defaultLayer = layer.pipe(Layer.provide(Config.defaultLayer), Layer.provide(Git.defaultLayer)) export const defaultLayer = layer.pipe(Layer.provide(Config.defaultLayer), Layer.provide(Git.defaultLayer))
}
export * as FileWatcher from "./watcher"