From 953f42f1931a66866fd9e7bdd2552dff3909019b Mon Sep 17 00:00:00 2001 From: tjtanjin Date: Mon, 21 Oct 2024 23:44:36 +0800 Subject: [PATCH] refactor: Update plugin type --- src/types/Plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/Plugin.ts b/src/types/Plugin.ts index d20d0695..602a21a3 100644 --- a/src/types/Plugin.ts +++ b/src/types/Plugin.ts @@ -1,4 +1,4 @@ /** * Defines a plugin type. */ -export type Plugin = (...args: unknown[]) => unknown; \ No newline at end of file +export type Plugin = (...args: unknown[]) => (...hookArgs: unknown[]) => string; \ No newline at end of file