From 61f224aea843432fd7407059cc2456420f0e997b Mon Sep 17 00:00:00 2001 From: dimaslanjaka Date: Sat, 5 Oct 2024 12:26:06 +0700 Subject: [PATCH] fix(StoreFunction): generalize return type --- lib/extend/helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extend/helper.ts b/lib/extend/helper.ts index 37ddb5ae0e..6bfe45be4d 100644 --- a/lib/extend/helper.ts +++ b/lib/extend/helper.ts @@ -37,7 +37,7 @@ interface HexoContext extends Hexo { } interface StoreFunction { - (this: HexoContext, ...args: any[]): string; + (this: HexoContext, ...args: any[]): any; } interface Store {