Upgrade Typescript and ESLint (#337) (#342)

* Upgrade eslint and additional lint changes

* Upgrade typescript version to v5

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
This commit is contained in:
2023-03-24 10:31:33 +04:00
committed by GitHub
co-authored by Dhruv Srivastava
parent 0f239c360e
commit ee63e33cc5
98 changed files with 673 additions and 439 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ import { GetStorageAt, getStorageValue, MappingKey, StorageLayout } from '@cerc-
export class Indexer implements IndexerInterface {
_getStorageAt: GetStorageAt;
_storageLayoutMap: Map<string, StorageLayout> = new Map()
_storageLayoutMap: Map<string, StorageLayout> = new Map();
constructor (ethClient: EthClient, storageLayoutMap?: Map<string, StorageLayout>) {
this._getStorageAt = ethClient.getStorageAt.bind(ethClient);