Skip to content

Commit

Permalink
fix(core): Update applyDecorator typing signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Mar 7, 2020
1 parent ce0f31e commit 3a138b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/utils/DecoratorUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function decorateMethodsOf(klass: any, decorator: any) {
});
}

export function applyDecorators(...decorators: any | Function[]): Function {
export function applyDecorators(...decorators: (any | ClassDecorator | MethodDecorator | PropertyDescriptor | ParameterDecorator)[]): any {
return (...args: DecoratorParameters) => {
decorators
.filter((o: any) => !!o)
Expand Down

0 comments on commit 3a138b4

Please sign in to comment.