diff --git a/packages/plugin/src/promise/tool.ts b/packages/plugin/src/promise/tool.ts index 3578bf5e4bcf..35d823107fd7 100644 --- a/packages/plugin/src/promise/tool.ts +++ b/packages/plugin/src/promise/tool.ts @@ -22,7 +22,7 @@ export type Info< ) => Promise> } -interface ToolEditor { +export interface ToolEditor { list(): readonly (Info & { readonly id: string })[] get(id: string): (Info & { readonly id: string }) | undefined namespace(namespace: Tool.Namespace): void