UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

8 lines 386 B
import { BeaconConfig } from "@lodestar/config"; import { ForkName } from "@lodestar/params"; import { Slot } from "@lodestar/types"; /** * Group an array of items by ForkName according to the slot associted to each item */ export declare function groupByFork<T>(config: BeaconConfig, items: T[], getSlot: (item: T) => Slot): Map<ForkName, T[]>; //# sourceMappingURL=forkName.d.ts.map