Skip to content

Commit

Permalink
fix(types): improve DeepPartial type for App Config (#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien1619 authored Nov 14, 2024
1 parent 35e3b8c commit 976b03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/types/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface TightMap<O = any> {
export type DeepPartial<T, O = any> = {
[P in keyof T]?: T[P] extends object
? DeepPartial<T[P], O>
: T[P];
: T[P] extends string ? string : T[P];
} & {
[key: string]: O | TightMap<O>
}
Expand Down

0 comments on commit 976b03f

Please sign in to comment.