Skip to content

Commit

Permalink
refactor: Update plugin type
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Oct 21, 2024
1 parent 5fea96e commit 953f42f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/Plugin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* Defines a plugin type.
*/
export type Plugin = (...args: unknown[]) => unknown;
export type Plugin = (...args: unknown[]) => (...hookArgs: unknown[]) => string;

0 comments on commit 953f42f

Please sign in to comment.