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

Method annotateKey

packages/effect/src/Schema.ts:14123–14125  ·  view source on GitHub ↗
(annotations: Annotations.Key<Self>)

Source from the content-addressed store, hash-verified

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 }
14126 static check(...checks: readonly [SchemaAST.Check<Self>, ...Array<SchemaAST.Check<Self>>]) {
14127 return this.rebuild(SchemaAST.appendChecks(this.ast, checks))
14128 }

Callers

nothing calls this directly

Calls 2

rebuildMethod · 0.65
annotateKeyMethod · 0.65

Tested by

no test coverage detected