import { BlockBase } from "./BlockBase"; import { TransactionBase } from "./TransactionBase"; /** * Base class for blocks that also include all transactions (including information about the transaction) */ // eslint-disable-next-line @typescript-eslint/no-explicit-any export abstract class FullBlockBase> extends BlockBase { /** * Array of transactions objects in block */ public abstract get transactions(): T[]; } // eslint-disable-next-line @typescript-eslint/no-explicit-any export function fullBlockConstructor>(c: new () => A): A { return new c(); }