Skip to content

Commit

Permalink
fix type imports to work with mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Rodrigues Lordello committed May 13, 2020
1 parent cf5d339 commit e4c20ac
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
* @packageDocumentation
*/

import { AbiItem } from "web3-utils";
import type { AbiItem } from "web3-utils";
import type { BatchExchange } from "../build/types/BatchExchange";
import type { BatchExchangeViewer } from "../build/types/BatchExchangeViewer";
import BatchExchangeArtifact from "../build/contracts/BatchExchange.json";
import BatchExchangeViewerArtifact from "../build/contracts/BatchExchangeViewer.json";

export { BatchExchange } from "../build/types/BatchExchange";
export { BatchExchangeViewer } from "../build/types/BatchExchangeViewer";
export { BatchExchangeArtifact, BatchExchangeViewerArtifact };
export {
BatchExchange,
BatchExchangeArtifact,
BatchExchangeViewer,
BatchExchangeViewerArtifact,
};

export interface ContractArtifact {
abi: AbiItem[];
Expand Down

0 comments on commit e4c20ac

Please sign in to comment.