Skip to content

Commit

Permalink
fix: no this context for callback
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Aug 14, 2024
1 parent 97dded7 commit 38b6764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/decorator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface DecoratorParameters<T, U extends any[] = any[]> {
/**
* A callback to call the decorated method with the current arguments.
*/
callback(): unknown;
callback(this: void): unknown;

/**
* Current call context.
Expand Down

0 comments on commit 38b6764

Please sign in to comment.