We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d3f96e commit 0f4b457Copy full SHA for 0f4b457
packages/types/src/type.ts
@@ -167,15 +167,15 @@ type Frame<Payload> = Payload extends Array<infer U>
167
? Record<number, Frame<U>> & SD<Payload> & DECOY
168
: SD<Payload> & DECOY
169
: Payload extends Record<string, unknown>
170
- ? NonNever<
171
- {
172
- [K in keyof Payload]?: Payload[K] extends object
173
- ? Frame<Payload[K]>
174
- : never;
175
- } & SD<Payload> &
176
- DECOY
177
- >
178
- : SD<Payload> & DECOY;
+ ? NonNever<
+ {
+ [K in keyof Payload]?: Payload[K] extends object
+ ? Frame<Payload[K]>
+ : never;
+ } & SD<Payload> &
+ DECOY
+ >
+ : SD<Payload> & DECOY;
179
180
/**
181
* This is a disclosureFrame type that is used to represent the structure of what is being disclosed.
0 commit comments