From 8e11978d798c1d386f652a25c18d3025c71d7fed Mon Sep 17 00:00:00 2001 From: Tommy Smith Date: Fri, 16 May 2025 12:25:29 +0100 Subject: [PATCH] Pass correct type when nested `RefProperty` --- src/collections/types/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collections/types/query.ts b/src/collections/types/query.ts index c356aa38..1e8b3c25 100644 --- a/src/collections/types/query.ts +++ b/src/collections/types/query.ts @@ -127,7 +127,7 @@ export interface BaseRefProperty { /** The metadata to return for the referenced objects. */ returnMetadata?: QueryMetadata; /** The properties to return for the referenced objects. */ - returnProperties?: QueryProperty[]; + returnProperties?: QueryProperty>[]; /** The references to return for the referenced objects. */ returnReferences?: QueryReference>[]; /** The collection to target when traversing the references. Required for multi-target references. */