Type Alias WitnessConfig<TConfig, TSchema>

WitnessConfig: ModuleConfig<
    WithAdditional<
        {
            schema: TConfig extends Payload
                ? TConfig["schema"]
                : WitnessConfigSchema;
        },
        TConfig,
    >,
    TSchema,
>

Type Parameters