From 317bfd3701ed4b6794ea8e2275a588eb7da50f3a Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Thu, 30 Apr 2020 15:00:52 +0200 Subject: [PATCH] fix build --- .eslintrc.js | 4 ++-- src/index.d.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 8da9c8a6f..d19389b3d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,14 +3,14 @@ module.exports = { env: { browser: true, commonjs: true, - es6: true, + es2020: true, }, extends: "eslint:recommended", parserOptions: { ecmaFeatures: { jsx: true, }, - ecmaVersion: 2018, + ecmaVersion: 2015, sourceType: "module", }, plugins: ["react", "@typescript-eslint"], diff --git a/src/index.d.ts b/src/index.d.ts index bd0a39ba6..3cf706bac 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,3 +1,4 @@ +import BN from "bn.js" import { BatchExchangeViewer } from "../build/types/BatchExchangeViewer" export { BatchExchange } from "../build/types/BatchExchange"