Skip to content

Commit

Permalink
fix: format file
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 committed Mar 8, 2024
1 parent 3ba74e9 commit 28202b2
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 @@ -103,14 +103,14 @@ 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;

export type DisclosureFrame<T extends object> = Frame<T>;

0 comments on commit 28202b2

Please sign in to comment.