From 976b03f241ef9626a6338685e43c844a8b3953fd Mon Sep 17 00:00:00 2001 From: Julien Blatecky Date: Thu, 14 Nov 2024 10:33:26 +0100 Subject: [PATCH] fix(types): improve `DeepPartial` type for App Config (#2621) --- src/runtime/types/utils.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/types/utils.d.ts b/src/runtime/types/utils.d.ts index ed32a826..2660601f 100644 --- a/src/runtime/types/utils.d.ts +++ b/src/runtime/types/utils.d.ts @@ -7,7 +7,7 @@ export interface TightMap { export type DeepPartial = { [P in keyof T]?: T[P] extends object ? DeepPartial - : T[P]; + : T[P] extends string ? string : T[P]; } & { [key: string]: O | TightMap }