From c54337a4ccddbb404b6aecda8da356fb137314cb Mon Sep 17 00:00:00 2001 From: thunfisch987 <43795814+thunfisch987@users.noreply.github.com> Date: Wed, 7 Feb 2024 03:19:45 +0100 Subject: [PATCH] use const type parameter for QueryBuilder.only --- src/runtime/types/query.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/types/query.ts b/src/runtime/types/query.ts index 51a346989..817252760 100644 --- a/src/runtime/types/query.ts +++ b/src/runtime/types/query.ts @@ -280,8 +280,8 @@ export interface ContentQueryBuilder { /** * Select a subset of fields */ - only(keys: K): ContentQueryBuilder, Y> - only(keys: K): ContentQueryBuilder, Y> + only(keys: K): ContentQueryBuilder, Y> + only(keys: K): ContentQueryBuilder, Y> /** * Remove a subset of fields