MCPcopy Create free account
hub / github.com/Effect-TS/effect / toType

Interface toType

packages/effect/src/Schema.ts:2595–2615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2593 * @since 4.0.0
2594 */
2595export interface toType<S extends Constraint> extends
2596 BottomLazy<
2597 S["ast"],
2598 toType<S>,
2599 S["~type.parameters"],
2600 S["~type.mutability"],
2601 S["~type.optionality"],
2602 S["~type.constructor.default"],
2603 S["~encoded.mutability"],
2604 S["~encoded.optionality"]
2605 >
2606{
2607 readonly "Type": S["Type"]
2608 readonly "Encoded": S["Type"]
2609 readonly "DecodingServices": never
2610 readonly "EncodingServices": never
2611 readonly "~type.make.in": S["~type.make.in"]
2612 readonly "~type.make": S["~type.make"]
2613 readonly "Iso": S["Iso"]
2614 readonly schema: S
2615}
2616
2617interface toTypeLambda extends Lambda {
2618 <S extends Constraint>(self: S): toType<S>

Callers 15

middlewareDecodingFunction · 0.85
SchemaAST.tsFile · 0.85
outputFunction · 0.85
ArrayEnsureFunction · 0.85
decodeFunction · 0.85
withDecodingDefaultTypeFunction · 0.85
walkFunction · 0.85
OptionFromNullOrFunction · 0.85
OptionFromUndefinedOrFunction · 0.85
OptionFromNullishOrFunction · 0.85
OptionFromOptionalKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected