We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9811b8 commit 0a901bdCopy full SHA for 0a901bd
‎src/lib/decorators.legacy.d.ts
@@ -1,4 +1,4 @@
1
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
2
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
3
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
4
-declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;
+declare type ParameterDecorator = (target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) => void;
0 commit comments