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

Class EnumsClass

packages/effect/src/Schema.ts:767–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765 enums: A,
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})
774
775/**
776 * @category constructors

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…