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

Function passthroughSupertype

packages/effect/src/SchemaTransformation.ts:750–752  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

748 */
749export function passthroughSupertype<T extends E, E>(): Transformation<T, E>
750export function passthroughSupertype<T>(): Transformation<T, T> {
751 return passthrough_
752}
753
754/**
755 * Transforms values without changing them, typed so that `E extends T` — the encoded

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected