Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jun 15, 2024
1 parent ce2ce2d commit c4ff5e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ type DefaultKey = '_merge'
type SecondValue<T, KeyOpt extends Key> = T extends (infer ArrayItem)[]
? SecondValue<ArrayItem, KeyOpt>[] | Updates<SecondValue<ArrayItem, KeyOpt>>
: T extends object
? {
[Prop in Exclude<keyof T, KeyOpt>]?: SecondValue<T[Prop], KeyOpt>
} & { [KeyProp in KeyOpt]?: MergeMode }
: T
? {
[Prop in Exclude<keyof T, KeyOpt>]?: SecondValue<T[Prop], KeyOpt>
} & { [KeyProp in KeyOpt]?: MergeMode }
: T

/**
* Modifies the merge mode.
Expand Down

0 comments on commit c4ff5e4

Please sign in to comment.