We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d7cd4f commit 9a6195cCopy full SHA for 9a6195c
packages/store/src/decorators/dispatch.ts
@@ -17,8 +17,8 @@ export function dispatch(): PropertyDecorator {
17
): PropertyDescriptor {
18
let originalMethod: () => Action;
19
20
- const wrapped = function(this: unknown, ...args: unknown[]) {
21
- const result = originalMethod.apply<unknown, unknown[], Action>(
+ const wrapped = function(this: unknown, ...args: any) {
+ const result = originalMethod.apply(
22
this,
23
args,
24
);
0 commit comments