Skip to content

Commit

Permalink
🤖 Pick PR #53365 (Change ParamaterDecorator to allow ...) into releas…
Browse files Browse the repository at this point in the history
…e-5.0 (#53392)

Co-authored-by: Daniel Hritzkiv <[email protected]>
  • Loading branch information
TypeScript Bot and dhritzkiv authored Mar 27, 2023
1 parent e674ef3 commit b78f920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/decorators.legacy.d.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit b78f920

Please sign in to comment.