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

Method constructor

packages/effect/src/testing/TestSchema.ts:466–472  ·  view source on GitHub ↗
(schema: S, options?: {
    readonly parseOptions?: SchemaAST.ParseOptions | undefined
  })

Source from the content-addressed store, hash-verified

464 readonly parseOptions?: SchemaAST.ParseOptions | undefined
465 } | undefined
466 constructor(schema: S, options?: {
467 readonly parseOptions?: SchemaAST.ParseOptions | undefined
468 }) {
469 this.schema = schema
470 this.encodeUnknownEffect = SchemaParser.encodeUnknownEffect(schema)
471 this.options = options
472 }
473 /**
474 * Asserts that encoding `input` succeeds. With one argument, asserts the
475 * output equals the input. With two arguments, asserts the output equals

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected