From 41474f908c328b450d9929f5541a508aa8af91f8 Mon Sep 17 00:00:00 2001 From: Daniel Hritzkiv Date: Mon, 20 Mar 2023 13:47:51 -0400 Subject: [PATCH] Change ParamaterDecorator to allow an undefined propertyKey (#53365) --- src/lib/decorators.legacy.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/decorators.legacy.d.ts b/src/lib/decorators.legacy.d.ts index 5638b44921b..2207e50bbda 100644 --- a/src/lib/decorators.legacy.d.ts +++ b/src/lib/decorators.legacy.d.ts @@ -1,4 +1,4 @@ declare type ClassDecorator = (target: TFunction) => TFunction | void; declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void; declare type MethodDecorator = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor | void; -declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void; +declare type ParameterDecorator = (target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) => void;