🤖 Pick PR #53365 (Change ParamaterDecorator to allow ...) into release-5.0 (#53392)

Co-authored-by: Daniel Hritzkiv <daniel.hritzkiv@gmail.com>
This commit is contained in:
TypeScript Bot
2023-03-27 14:01:09 -07:00
committed by GitHub
parent e674ef3d58
commit b78f920ea0
+1 -1
View File
@@ -1,4 +1,4 @@
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) => void;