MCPcopy Index your code
hub / github.com/Effect-TS/effect / annotations

Method annotations

packages/effect/src/Schema.ts:692–694  ·  view source on GitHub ↗
(annotations: Annotations.Schema<Literals[number]>)

Source from the content-addressed store, hash-verified

690): Literal<Literals> {
691 return class LiteralClass extends make<Literals[number]>(ast) {
692 static override annotations(annotations: Annotations.Schema<Literals[number]>): Literal<Literals> {
693 return makeLiteralClass(this.literals, mergeSchemaAnnotations(this.ast, annotations))
694 }
695 static literals = [...literals] as Literals
696 }
697}

Callers

nothing calls this directly

Calls 2

makeLiteralClassFunction · 0.85
mergeSchemaAnnotationsFunction · 0.85

Tested by

no test coverage detected