DataType<T>: T extends ApiMethod<any, Response | infer R>
    ? R
    : never

The data type returned by a commerce-sdk-isomorphic method when the raw response flag is not set.

Type Parameters

  • T