From 79d1adfbad2bbe4b35105acf6fc88e85fff34472 Mon Sep 17 00:00:00 2001 From: Thomas Smeele Date: Tue, 16 Jul 2024 20:51:52 +0200 Subject: [PATCH] Make typescript typing happy again :) --- src/Model.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model.d.ts b/src/Model.d.ts index eddd773..2ac5590 100644 --- a/src/Model.d.ts +++ b/src/Model.d.ts @@ -126,7 +126,7 @@ type EntityFieldFromType = T['type'] extends ArrayConstructo type ArrayItemType = T extends {items: OneField} ? EntityField - : EntityFieldFromType + : any /* Select the required properties from a model */