Skip to content

Commit 363f393

Browse files
refactor(common): remove needless interface
1 parent 8d1e5ee commit 363f393

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

packages/common/decorators/core/apply-decorators.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@
77
*
88
* @publicApi
99
*/
10-
export declare type NestCustomDecorator = <TFunction extends Function, Y>(
11-
target: TFunction | Object,
12-
propertyKey?: string | symbol,
13-
descriptor?: TypedPropertyDescriptor<Y>,
14-
) => void;
15-
1610
export function applyDecorators(
1711
...decorators: Array<ClassDecorator | MethodDecorator>
18-
): NestCustomDecorator {
12+
) {
1913
return <TFunction extends Function, Y>(
2014
target: TFunction | Object,
2115
propertyKey?: string | symbol,

0 commit comments

Comments
 (0)