chore: no eslint warnings policy

This commit is contained in:
robal
2023-02-23 11:12:19 +01:00
committed by just_ppe
parent d872652c7c
commit 3495f43848
30 changed files with 115 additions and 70 deletions

View File

@@ -35,7 +35,7 @@ import { LevelDbCache } from '../cache/impl/LevelDbCache';
import { Transaction } from '../utils/types/arweave-types';
export type WarpEnvironment = 'local' | 'testnet' | 'mainnet' | 'custom';
export type KVStorageFactory = (contractTxId: string) => SortKeyCache<any>;
export type KVStorageFactory = (contractTxId: string) => SortKeyCache<unknown>;
/**
* The Warp "motherboard" ;-).
@@ -128,7 +128,7 @@ export class Warp {
return this;
}
useContractCache(definition: SortKeyCache<ContractDefinition<any>>, src: SortKeyCache<SrcCache>): Warp {
useContractCache(definition: SortKeyCache<ContractDefinition<unknown>>, src: SortKeyCache<SrcCache>): Warp {
this.definitionLoader.setSrcCache(src);
this.definitionLoader.setCache(definition);
return this;