mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-13 19:46:16 +03:00
fix(plugin): export Promise ToolEditor
This commit is contained in:
committed by
GitHub
Unverified
parent
d9c85d8d95
commit
5f1d74fd3f
@@ -22,7 +22,7 @@ export type Info<
|
||||
) => Promise<Tool.Result<Output>>
|
||||
}
|
||||
|
||||
interface ToolEditor {
|
||||
export interface ToolEditor {
|
||||
list(): readonly (Info & { readonly id: string })[]
|
||||
get(id: string): (Info & { readonly id: string }) | undefined
|
||||
namespace(namespace: Tool.Namespace): void
|
||||
|
||||
Reference in New Issue
Block a user