Skip to content

Commit 9a6195c

Browse files
author
James Salas
committed
fix: workaround ng-packagr type argument bug
1 parent 8d7cd4f commit 9a6195c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/store/src/decorators/dispatch.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export function dispatch(): PropertyDecorator {
1717
): PropertyDescriptor {
1818
let originalMethod: () => Action;
1919

20-
const wrapped = function(this: unknown, ...args: unknown[]) {
21-
const result = originalMethod.apply<unknown, unknown[], Action>(
20+
const wrapped = function(this: unknown, ...args: any) {
21+
const result = originalMethod.apply(
2222
this,
2323
args,
2424
);

0 commit comments

Comments
 (0)