vigiles API reference
    Preparing search index...

    Type Alias HookCtx<N>

    HookCtx: { readonly [E in N[number] as NeedName<E>]: NeedValue<E> }

    The typed e.ctx for a hook that declared needs: N — ONLY the declared facts are present (built-in name → its typed value, inline → string), so reading an undeclared one is a tsc error (the typed-purity trick). With N = readonly [] the ctx is empty. The default readonly ProviderName[] is the erased runtime shape (built-ins only — an inline string name would force an index signature that clashes with git.isDirty: boolean; concrete authored inline names are literals, so they never clash).

    Type Parameters