From 7966323baa52fc66fafe45286d42f6aae7f7ed67 Mon Sep 17 00:00:00 2001 From: thunfisch987 <43795814+thunfisch987@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:19:35 +0100 Subject: [PATCH] fix(types): use const type parameter for QueryBuilder only (#2546) --- 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 3208aa8ae..a4eb56f1d 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