Skip to content

Commit

Permalink
downgrade evm-processor to TypeScript 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
eldargab committed Jun 11, 2023
1 parent 0a32b37 commit ccd56be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm/evm-processor/src/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export type EvmBatchProcessorFields<T> = T extends EvmBatchProcessor<infer F> ?
/**
* Provides methods to configure and launch data processing.
*/
export class EvmBatchProcessor<const F extends FieldSelection = {}> {
export class EvmBatchProcessor<F extends FieldSelection = {}> {
private requests: BatchRequest<DataRequest>[] = []
private src?: DataSource
private blockRange?: Range
Expand All @@ -98,7 +98,7 @@ export class EvmBatchProcessor<const F extends FieldSelection = {}> {
/**
* Configure a set of fetched fields
*/
setFields<const T extends FieldSelection>(fields: T): EvmBatchProcessor<T> {
setFields<T extends FieldSelection>(fields: T): EvmBatchProcessor<T> {
this.assertNotRunning()
this.fields = fields
return this as any
Expand Down

0 comments on commit ccd56be

Please sign in to comment.