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

Method annotate

packages/effect/src/Schema.ts:14120–14122  ·  view source on GitHub ↗
(annotations: Annotations.Declaration<Self, readonly [S]>)

Source from the content-addressed store, hash-verified

14118 return (getClassSchema(this) as any).makeEffect(input ?? {}, options)
14119 }
14120 static annotate(annotations: Annotations.Declaration<Self, readonly [S]>) {
14121 return this.rebuild(SchemaAST.annotate(this.ast, annotations))
14122 }
14123 static annotateKey(annotations: Annotations.Key<Self>) {
14124 return this.rebuild(SchemaAST.annotateKey(this.ast, annotations))
14125 }

Callers

nothing calls this directly

Calls 2

rebuildMethod · 0.65
annotateMethod · 0.65

Tested by

no test coverage detected