Skip to content

Commit 0a901bd

Browse files
TypeScript Botdhritzkiv
authored and
dar
committed
🤖 Pick PR microsoft#53365 (Change ParamaterDecorator to allow ...) into release-5.0 (microsoft#53392)
Co-authored-by: Daniel Hritzkiv <[email protected]>
1 parent b9811b8 commit 0a901bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/lib/decorators.legacy.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
22
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
33
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;
4+
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) => void;

0 commit comments

Comments
 (0)