API reference › @evolu/common › Task › InferTasksOk
type InferTasksOk<TTasks> = {
readonly [K in keyof TTasks]: TTasks[K] extends AnyTask
? InferTaskOk<TTasks[K]>
: never;
};
Defined in: packages/common/src/Task.ts:2955
Maps a Task array or record to the Ok values produced by its Tasks.
The mapped type is homomorphic, so tuples preserve their shape and records preserve their keys.