Skip to content

Commit b78f920

Browse files
TypeScript Botdhritzkiv
TypeScript Bot
andauthored
🤖 Pick PR #53365 (Change ParamaterDecorator to allow ...) into release-5.0 (#53392)
Co-authored-by: Daniel Hritzkiv <[email protected]>
1 parent e674ef3 commit b78f920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)