Skip to content

Commit

Permalink
Fix types break during merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Oct 8, 2024
1 parent f7871fb commit 87bc3af
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/beacon-node/src/network/gossip/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@ export type BatchGossipHandler<K extends GossipType> = (
gossipHandlerParams: GossipHandlerParamGeneric<K>[]
) => Promise<(null | GossipActionError<AttestationErrorType>)[]>;

export type BatchGossipHandlers = {
[K in GossipType]?: BatchGossipHandler<K>;
};

// biome-ignore lint/suspicious/noExplicitAny: <explanation>
export type ResolvedType<F extends (...args: any) => Promise<any>> = F extends (...args: any) => Promise<infer T>
? T
Expand Down

0 comments on commit 87bc3af

Please sign in to comment.