From a69f11bef0b7198798674d41ebc37b09ee91cc79 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 27 Sep 2019 20:13:25 +0530 Subject: [PATCH] linting fix --- remix-tests/src/compiler.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/remix-tests/src/compiler.ts b/remix-tests/src/compiler.ts index 9d580df4a2..ae48a8c097 100644 --- a/remix-tests/src/compiler.ts +++ b/remix-tests/src/compiler.ts @@ -106,9 +106,10 @@ export function compileContractSources(sources: SrcIfc, versionUrl: any, usingWo function loadCompiler (next: Function) { compiler = new RemixCompiler(importFileCb) compiler.loadVersion(usingWorker, versionUrl) - compiler.event.register('compilerLoaded', this, function (version) { + // @ts-ignore + compiler.event.register('compilerLoaded', this, (version) => { next() - }); + }) }, function doCompilation (next: Function) { // @ts-ignore