diff --git a/packages/contracts/src.ts/index.ts b/packages/contracts/src.ts/index.ts index 1877cc1871..74b84e1bc5 100644 --- a/packages/contracts/src.ts/index.ts +++ b/packages/contracts/src.ts/index.ts @@ -1036,7 +1036,7 @@ export class BaseContract { } } - queryFilter(event: EventFilter, fromBlockOrBlockhash?: BlockTag | string, toBlock?: BlockTag): Promise> { + queryFilter(event: EventFilter | string, fromBlockOrBlockhash?: BlockTag | string, toBlock?: BlockTag): Promise> { const runningEvent = this._getRunningEvent(event); const filter = shallowCopy(runningEvent.filter);