drupflare/worker - v1.0.0
    Preparing search index...

    Type Alias DecodedParam<T>

    DecodedParam: T extends { $b64: unknown }
        ? Uint8Array
        : T extends { $i: unknown } ? string : SqlParam

    What decodeParam() returns for a given packed param.

    A call site that already knows the tag gets the one type back; everything else gets the whole bindable union, which is what the replay loop passes straight to exec().

    Type Parameters

    • T