Skip to content

Commit

Permalink
fix: change type od argument to MethodDecorator
Browse files Browse the repository at this point in the history
  • Loading branch information
Papooch committed Apr 21, 2022
1 parent a364469 commit 1280c7b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/decorate-all.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ export interface DecorateAllOptions {
* @param {boolean} options.deep if true, also decorates methods of the extended classes (recusrively)
*/
export const DecorateAll = (
decorator: (
target: any,
propertyKey: string,
descriptor?: PropertyDescriptor,
) => void,
decorator: MethodDecorator,
options: DecorateAllOptions = {},
) => {
return (target: any) => {
Expand Down

0 comments on commit 1280c7b

Please sign in to comment.