Decoded<S>A schema's decoded value type (.Type), prettified — { to: string }, not the
Schema.Struct.ReadonlySide<…> alias, and with the schema's readonly dropped. Use it to spell out a
client-type override for the effect/effectFn two-stage forms without re-deriving the alias by hand.
models
Source src/Hyperlink.ts:16441 lines
export type type Decoded<S extends Schema.Top> =
S["Type"] extends readonly unknown[]
? number extends S["Type"]["length"]
? S["Type"] extends readonly (infer E)[]
? readonly PrettyObject<E>[]
: S["Type"]
: S["Type"]
: PrettyObject<S["Type"]>
A schema's decoded value type (.Type), prettified — { to: string }, not the
Schema.Struct.ReadonlySide<…> alias, and with the schema's readonly dropped. Use it to spell out a
client-type override for the effect/effectFn two-stage forms without re-deriving the alias by hand.
Decoded<function (type parameter) S in type Decoded<S extends Schema.Top>S extends import SchemaSchema.Top> = type PrettifyPayload<P> =
P extends readonly unknown[]
? number extends P["length"]
? P extends readonly (infer E)[]
? readonly PrettyObject<E>[]
: P
: P
: PrettyObject<P>
PrettifyPayload<function (type parameter) S in type Decoded<S extends Schema.Top>S["Type"]>;
Referenced by 2 symbols