Skip to content

Commit 18c35d8

Browse files
committed
chore(*): Fix arguments not applying correctly for class deprecate decorator.
1 parent e9e8c0a commit 18c35d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/core/deprecateDecorators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function DeprecateClass(message: string) {
1313
const targetName = typeof target === 'function' ? target.name : target.constructor.name;
1414
isMessageShown = showMessage(`${targetName}: ${message}`, isMessageShown);
1515

16-
super(args);
16+
super(...args);
1717
}
1818
};
1919
};

0 commit comments

Comments
 (0)