Type alias InteractionsDataTypes<A>

InteractionsDataTypes<A>: {
    [K in keyof A]: A[K] extends Interaction<infer T>
        ? T
        : never
}

Infers the interaction data types from an array of interactions

Type Parameters

Generated using TypeDoc