UNPKG

arvo-core

Version:

This core package contains all the core classes and components of the Arvo Event Driven System

5 lines (4 loc) 439 B
import type ArvoContract from '..'; import type { ArvoSemanticVersion } from '../../types'; import type { ArvoContractRecord } from '../types'; export declare const transformEmitsToArray: <T extends ArvoContract, V extends ArvoSemanticVersion>(emitMap: T["versions"][V]["emits"]) => Array<{ [K in keyof T["versions"][V]["emits"] & string]: ArvoContractRecord<K, T["versions"][V]["emits"][K]>; }[keyof T["versions"][V]["emits"] & string]>;