From 207fc24324932231c885c9400a2a6f077ec71b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20My=C5=9Bliwiec?= Date: Tue, 22 Aug 2023 09:32:11 +0200 Subject: [PATCH] fix(core): minor reflector type issue --- packages/core/services/reflector.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/services/reflector.service.ts b/packages/core/services/reflector.service.ts index 7a05a09093a..0e6e9e949f6 100644 --- a/packages/core/services/reflector.service.ts +++ b/packages/core/services/reflector.service.ts @@ -118,8 +118,8 @@ export class Reflector { targets: (Type | Function)[], ): T extends ReflectableDecorator ? R extends Array - ? R[] - : R + ? R + : R[] : unknown; /** * Retrieve metadata for a specified key for a specified set of targets.