• As of a few versions ago, data in our AuthdRequests can now be either bitwise or string-based. This is a type-guard function for the string-based version

    Type Parameters

    • T

    Parameters

    • req: T
    • Optional o: {
          code: string;
          text: string;
      }[]

    Returns req is T & {
        auth: ReqInfoString;
    }

Generated using TypeDoc