Skip to content

defineXrayCaptureWalker

defineXrayCaptureWalker(walker): XrayCaptureWalker

Defined in: packages/xray/src/measure.ts:137

Typed identity wrapper for authoring a capture walker (ADR 0018) — the defineConfig pattern. It returns its argument unchanged at runtime; its only job is to infer and check the XrayCaptureWalker shape at the call site so an author gets completion and a typo in a hook name is caught.

XrayCaptureWalker

XrayCaptureWalker