Skip to content

Commit e1204a9

Browse files
committed
Merge pull request #2635 from Microsoft/fixParameterDecoratorTyping
Fix for #2249
2 parents 5e7343f + 9dfb724 commit e1204a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/core.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,4 +1168,4 @@ interface TypedPropertyDescriptor<T> {
11681168
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
11691169
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
11701170
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
1171-
declare type ParameterDecorator = (target: Function, propertyKey: string | symbol, parameterIndex: number) => void;
1171+
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;

0 commit comments

Comments
 (0)