diff --git a/packages/common/decorators/core/apply-decorators.ts b/packages/common/decorators/core/apply-decorators.ts index 97f12c44d..0d8a22219 100644 --- a/packages/common/decorators/core/apply-decorators.ts +++ b/packages/common/decorators/core/apply-decorators.ts @@ -1,39 +1,3 @@ -/** - * Function that returns a new decorator that applies all decorators provided by param - * - * Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature - * - * @param decorators one or more decorators (e.g., `ApplyGuard(...)`) - * - * @publicApi - */ -export function applyDecorators( - ...decorators: Array -): ClassDecorator; -/** - * Function that returns a new decorator that applies all decorators provided by param - * - * Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature - * - * @param decorators one or more decorators (e.g., `ApplyGuard(...)`) - * - * @publicApi - */ -export function applyDecorators( - ...decorators: Array -): MethodDecorator; -/** - * Function that returns a new decorator that applies all decorators provided by param - * - * Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature - * - * @param decorators one or more decorators (e.g., `ApplyGuard(...)`) - * - * @publicApi - */ -export function applyDecorators( - ...decorators: Array -): PropertyDecorator; /** * Function that returns a new decorator that applies all decorators provided by param * diff --git a/packages/common/test/decorators/apply-decorators.spec.ts b/packages/common/test/decorators/apply-decorators.spec.ts index f91526ac4..d804206cc 100644 --- a/packages/common/test/decorators/apply-decorators.spec.ts +++ b/packages/common/test/decorators/apply-decorators.spec.ts @@ -1,6 +1,6 @@ import { expect } from 'chai'; -import { applyDecorators, UseGuards } from '../../decorators'; import { GUARDS_METADATA } from '../../constants'; +import { applyDecorators, UseGuards } from '../../decorators'; import { CanActivate } from '../../interfaces'; describe('applyDecorators', () => {