Type Alias: ResultOf<K>
ts
type ResultOf<K> = { [P in K]: LinePayResult<OperationOutput<P>> }[K];Defined in: src/client-types.ts:84
The result of the operation K. For several operations at once it is the union of their results, which is what the compiler needs to follow a call through code that is generic over the operation.
Type Parameters
K
K extends OperationName