diff --git a/src/decorators.js b/src/decorators.js index 1664136..950e942 100644 --- a/src/decorators.js +++ b/src/decorators.js @@ -6,9 +6,9 @@ interface DecoratorApplicator { * Applies the decorators to the target. * @param target The target. * @param key If applying to a method, the member name. - * @param key If applying to a method, you may supply an initial descriptor to pass to the decorators. + * @param descriptor If applying to a method, you may supply an initial descriptor to pass to the decorators. */ - on(target: any, key?: string, descriptor?: Object): any; + on(target: any, key?: string, descriptor?: PropertyDescriptor): any; } /**