Skip to content

Commit

Permalink
Remove unnecessary value import
Browse files Browse the repository at this point in the history
  • Loading branch information
gnidan committed Jun 4, 2023
1 parent 4567b44 commit 4e80920
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/abi-to-sol/src/declarations/kind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type * as Abi from "@truffle/abi-utils";

import { Identifier } from "./identifier";

import { Type } from "../type";
import type { Type } from "../type";

export type MissingBindings = "missing-bindings";
export type MissingDeepBindings = "missing-deep-bindings";
Expand Down Expand Up @@ -33,8 +33,7 @@ export namespace Kind {

export const isElementary = <B extends Bindings>(
kind: Kind<B>
): kind is Elementary =>
"type" in kind && Type.isElementary(kind.type);
): kind is Elementary => "type" in kind;

/*
* UserDefinedValueType (extends Elementary)
Expand Down

0 comments on commit 4e80920

Please sign in to comment.