Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 committed Jan 15, 2025
1 parent 2f8ed37 commit 3bad32f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/types/src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ type Frame<Payload> = Payload extends Array<infer U>
? Record<number, Frame<U>> & SD<Payload> & DECOY
: SD<Payload> & DECOY
: Payload extends Record<string, unknown>
? NonNever<
{
[K in keyof Payload]?: Payload[K] extends object
? Frame<Payload[K]>
: never;
} & SD<Payload> &
DECOY
>
: SD<Payload> & DECOY;
? NonNever<
{
[K in keyof Payload]?: Payload[K] extends object
? Frame<Payload[K]>
: never;
} & SD<Payload> &
DECOY
>
: SD<Payload> & DECOY;

/**
* This is a disclosureFrame type that is used to represent the structure of what is being disclosed.
Expand Down

0 comments on commit 3bad32f

Please sign in to comment.