effx
API reference@effx/compiler

args

API reference for @effx/compiler/args

args.ts overview


Exports Grouped by Category


utils

decodeArgs

Decodes annotation.args against schema, or an EFFX1102 diagnostic.

Signature

declare const decodeArgs: <S extends Schema.ConstraintDecoder<unknown>>(
  schema: S,
  annotation: Annotation,
  declaration: Declaration
) => Result.Result<S["Type"], Diagnostic>

On this page