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

Function annotate

packages/effect/src/Schema.ts:649–651  ·  view source on GitHub ↗
(annotations: Annotations.Bottom<S["Type"], S["~type.parameters"]>)

Source from the content-addressed store, hash-verified

647 * @since 4.0.0
648 */
649export function annotate<S extends Top>(annotations: Annotations.Bottom<S["Type"], S["~type.parameters"]>) {
650 return (self: S) => self.annotate(annotations)
651}
652
653/**
654 * Adds metadata annotations to the **encoded** side of a schema without

Callers

nothing calls this directly

Calls 1

annotateMethod · 0.65

Tested by

no test coverage detected