From 2c400b73bae397a770673d08d565e9bae5e302ff Mon Sep 17 00:00:00 2001 From: Daniel Hritzkiv Date: Sun, 19 Mar 2023 23:38:15 -0400 Subject: [PATCH] Update decorators.legacy.d.ts `propertyKey` argument can be undefined for parameter decorators --- 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 5638b44921b7a..2207e50bbda2d 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;