mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:44:31 +00:00
chore: Fix types in tests 36/N.
This commit is contained in:
@@ -4,7 +4,7 @@ import { createEmptyPluginRegistry, type PluginRegistry } from "./registry.js";
|
||||
import type {
|
||||
PluginHookBeforeModelResolveResult,
|
||||
PluginHookBeforePromptBuildResult,
|
||||
TypedPluginHookRegistration,
|
||||
PluginHookRegistration,
|
||||
} from "./types.js";
|
||||
|
||||
function addTypedHook(
|
||||
@@ -23,7 +23,7 @@ function addTypedHook(
|
||||
handler,
|
||||
priority,
|
||||
source: "test",
|
||||
} as TypedPluginHookRegistration);
|
||||
} as PluginHookRegistration);
|
||||
}
|
||||
|
||||
describe("phase hooks merger", () => {
|
||||
|
||||
Reference in New Issue
Block a user