refactor: unwrap TuiPluginRuntime namespace + self-reexport (#22980)
This commit is contained in:
@@ -918,7 +918,6 @@ async function installPluginBySpec(
|
||||
}
|
||||
}
|
||||
|
||||
export namespace TuiPluginRuntime {
|
||||
let dir = ""
|
||||
let loaded: Promise<void> | undefined
|
||||
let runtime: RuntimeState | undefined
|
||||
@@ -1027,4 +1026,5 @@ export namespace TuiPluginRuntime {
|
||||
fail("failed to load tui plugins", { directory: cwd, error })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export * as TuiPluginRuntime from "./runtime"
|
||||
|
||||
Reference in New Issue
Block a user