Skip to content

Commit

Permalink
style: fix prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahochsteger committed Nov 29, 2023
1 parent 7eee818 commit a9bb430
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/lib/processors/BaseProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ export abstract class BaseProcessor {
return this.isSet(global, unsetValue) && !this.isSet(local, unsetValue)
? (global as T)
: this.isSet(local, unsetValue)
? local
: unsetValue
? local
: unsetValue
}

protected static effectiveMaxNumber(
Expand Down
16 changes: 8 additions & 8 deletions src/lib/utils/UtilityTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export type RequiredDeep<
> = A["length"] extends D
? never
: T extends Primitive
? NotNill<T>
: {
[P in keyof T]-?: T[P] extends Array<infer U>
? Array<RequiredDeep<U, D, [0, ...A]>>
: T[P] extends ReadonlyArray<infer U2>
? RequiredDeep<U2, D, [0, ...A]>
: RequiredDeep<T[P], D, [0, ...A]>
}
? NotNill<T>
: {
[P in keyof T]-?: T[P] extends Array<infer U>
? Array<RequiredDeep<U, D, [0, ...A]>>
: T[P] extends ReadonlyArray<infer U2>
? RequiredDeep<U2, D, [0, ...A]>
: RequiredDeep<T[P], D, [0, ...A]>
}

0 comments on commit a9bb430

Please sign in to comment.