MCPcopy
hub / github.com/Effect-TS/effect / annotations

Method annotations

packages/effect/src/Schema.ts:768–770  ·  view source on GitHub ↗
(annotations: Annotations.Schema<A[keyof A]>)

Source from the content-addressed store, hash-verified

766 ast: AST.AST = getDefaultEnumsAST(enums)
767): Enums<A> => (class EnumsClass extends make<A[keyof A]>(ast) {
768 static override annotations(annotations: Annotations.Schema<A[keyof A]>) {
769 return makeEnumsClass(this.enums, mergeSchemaAnnotations(this.ast, annotations))
770 }
771
772 static enums = { ...enums }
773})

Callers

nothing calls this directly

Calls 2

makeEnumsClassFunction · 0.85
mergeSchemaAnnotationsFunction · 0.85

Tested by

no test coverage detected