Function toUsbId

  • Convert a {vendorId, productId} tuple to string.

    Parameters

    • t: {
          productId: number;
          vendorId: number;
      } | {
          idProduct: number;
          idVendor: number;
      }

    Returns string