From d63d6ad5ef80c7a3ba5ac4e75e8b12dfa95ca1f3 Mon Sep 17 00:00:00 2001 From: TheNightmareX Date: Fri, 21 May 2021 20:15:46 +0800 Subject: [PATCH] fix: make arrays of entities relation fields --- src/types/relation-path.type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/relation-path.type.ts b/src/types/relation-path.type.ts index 2f94eee..c0bfcfa 100644 --- a/src/types/relation-path.type.ts +++ b/src/types/relation-path.type.ts @@ -2,5 +2,5 @@ import { ExtractNestedKeys } from "../utils"; export type RelationPath = ExtractNestedKeys< Entity, - Record + Record | Record[] >;