Skip to content

Commit

Permalink
Merge pull request #88 from gnidan/cleanup/imports
Browse files Browse the repository at this point in the history
Cleanup imports
  • Loading branch information
gnidan authored Aug 6, 2022
2 parents 3e528de + bea9b6e commit d2ededc
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## vNext

### Internal improvements

- Cleanup imports ([#88](https://github.com/gnidan/abi-to-sol/pull/88) by
[@gnidan](https://github.com/gnidan))

## v0.6.5

See [release notes](https://github.com/gnidan/abi-to-sol/releases/tag/v0.6.5).
Expand Down
5 changes: 2 additions & 3 deletions packages/abi-to-sol/src/abi-features.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Abi as SchemaAbi } from "@truffle/contract-schema/spec";
import * as Codec from "@truffle/codec";
import * as Abi from "@truffle/abi-utils";
import type { Abi as SchemaAbi } from "@truffle/contract-schema/spec";
import type * as Abi from "@truffle/abi-utils";

import { Visitor, VisitOptions, dispatch, Node } from "./visitor";

Expand Down
4 changes: 2 additions & 2 deletions packages/abi-to-sol/src/declarations.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Abi as SchemaAbi} from "@truffle/contract-schema/spec";
import type {Abi as SchemaAbi} from "@truffle/contract-schema/spec";
import * as Codec from "@truffle/codec";
import * as Abi from "@truffle/abi-utils";
import type * as Abi from "@truffle/abi-utils";

import {Visitor, VisitOptions, dispatch, Node} from "./visitor";

Expand Down
4 changes: 2 additions & 2 deletions packages/abi-to-sol/src/solidity.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type Prettier from "prettier";
import * as Codec from "@truffle/codec";
import * as Abi from "@truffle/abi-utils";
import {Abi as SchemaAbi} from "@truffle/contract-schema/spec";
import type * as Abi from "@truffle/abi-utils";
import type {Abi as SchemaAbi} from "@truffle/contract-schema/spec";

import { version } from "../package.json";
import {Visitor, VisitOptions, dispatch, Node} from "./visitor";
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-to-sol/src/visitor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Abi as SchemaAbi} from "@truffle/contract-schema/spec";
import type {Abi as SchemaAbi} from "@truffle/contract-schema/spec";
import * as Abi from "@truffle/abi-utils";

export interface VisitOptions<N extends Node, C = undefined> {
Expand Down

0 comments on commit d2ededc

Please sign in to comment.