Skip to content

Commit

Permalink
fix(StoreFunction): generalize return type
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslanjaka committed Oct 5, 2024
1 parent dda472f commit 61f224a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extend/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ interface HexoContext extends Hexo {
}

interface StoreFunction {
(this: HexoContext, ...args: any[]): string;
(this: HexoContext, ...args: any[]): any;
}

interface Store {
Expand Down

0 comments on commit 61f224a

Please sign in to comment.