Fix lint errors

This commit is contained in:
Prathamesh Musale 2023-02-13 13:28:09 +05:30
parent 8193ab4ad9
commit d7215b769a
11 changed files with 14 additions and 14 deletions

View File

@ -25,7 +25,7 @@ export class BaseCmd {
_config?: Config; _config?: Config;
_clients?: Clients; _clients?: Clients;
_ethProvider?: JsonRpcProvider; _ethProvider?: JsonRpcProvider;
_jobQueue?: JobQueue _jobQueue?: JobQueue;
_database?: DatabaseInterface; _database?: DatabaseInterface;
_indexer?: IndexerInterface; _indexer?: IndexerInterface;
_eventWatcher?: EventWatcher; _eventWatcher?: EventWatcher;

View File

@ -29,8 +29,8 @@ interface Arguments {
} }
export class CreateCheckpointCmd { export class CreateCheckpointCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd _baseCmd: BaseCmd;
constructor () { constructor () {
this._baseCmd = new BaseCmd(); this._baseCmd = new BaseCmd();

View File

@ -30,8 +30,8 @@ interface Arguments {
} }
export class VerifyCheckpointCmd { export class VerifyCheckpointCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd _baseCmd: BaseCmd;
constructor () { constructor () {
this._baseCmd = new BaseCmd(); this._baseCmd = new BaseCmd();

View File

@ -34,7 +34,7 @@ interface Arguments {
} }
export class ExportStateCmd { export class ExportStateCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd; _baseCmd: BaseCmd;
constructor () { constructor () {

View File

@ -37,7 +37,7 @@ interface Arguments {
} }
export class FillCmd { export class FillCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd; _baseCmd: BaseCmd;
constructor () { constructor () {

View File

@ -36,7 +36,7 @@ interface Arguments {
} }
export class ImportStateCmd { export class ImportStateCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd; _baseCmd: BaseCmd;
constructor () { constructor () {

View File

@ -31,7 +31,7 @@ interface Arguments {
} }
export class InspectCIDCmd { export class InspectCIDCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd; _baseCmd: BaseCmd;
constructor () { constructor () {

View File

@ -29,7 +29,7 @@ interface Arguments {
} }
export class JobRunnerCmd { export class JobRunnerCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd; _baseCmd: BaseCmd;
constructor () { constructor () {

View File

@ -22,9 +22,9 @@ interface Arguments {
} }
export class ResetStateCmd { export class ResetStateCmd {
_argv?: Arguments _argv?: Arguments;
_config?: Config; _config?: Config;
_database?: DatabaseInterface _database?: DatabaseInterface;
async initConfig (configFile: string): Promise<Config> { async initConfig (configFile: string): Promise<Config> {
this._config = await getConfig(configFile); this._config = await getConfig(configFile);

View File

@ -28,7 +28,7 @@ interface Arguments {
} }
export class ResetWatcherCmd { export class ResetWatcherCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd; _baseCmd: BaseCmd;
constructor () { constructor () {

View File

@ -34,7 +34,7 @@ interface Arguments {
} }
export class ServerCmd { export class ServerCmd {
_argv?: Arguments _argv?: Arguments;
_baseCmd: BaseCmd; _baseCmd: BaseCmd;
constructor () { constructor () {