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

Method annotateKey

packages/effect/src/Schema.ts:211–211  ·  view source on GitHub ↗
(annotations: Annotations.Key<this["Type"]>)

Source from the content-addressed store, hash-verified

209 readonly "~encoded.optionality": EncodedOptionality
210 annotate(annotations: Annotations.Bottom<this["Type"], this["~type.parameters"]>): this["Rebuild"]
211 annotateKey(annotations: Annotations.Key<this["Type"]>): this["Rebuild"]
212 check(...checks: readonly [SchemaAST.Check<this["Type"]>, ...Array<SchemaAST.Check<this["Type"]>>]): this["Rebuild"]
213 rebuild(ast: this["ast"]): this["Rebuild"]
214 /**

Callers 15

OpenApi.test.tsFile · 0.80
toCodec.test.tsFile · 0.80
Schema.test.tsFile · 0.80
codegen.test.tsFile · 0.80
toJson.test.tsFile · 0.80
annotateKeyFunction · 0.80
Schema.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected