From 4e80920244f30a6a135d85d659a24e7de4a9350b Mon Sep 17 00:00:00 2001 From: "g. nicholas d'andrea" Date: Sun, 4 Jun 2023 17:42:23 -0400 Subject: [PATCH] Remove unnecessary value import --- packages/abi-to-sol/src/declarations/kind.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/abi-to-sol/src/declarations/kind.ts b/packages/abi-to-sol/src/declarations/kind.ts index 8f1c434..82d688a 100644 --- a/packages/abi-to-sol/src/declarations/kind.ts +++ b/packages/abi-to-sol/src/declarations/kind.ts @@ -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"; @@ -33,8 +33,7 @@ export namespace Kind { export const isElementary = ( kind: Kind - ): kind is Elementary => - "type" in kind && Type.isElementary(kind.type); + ): kind is Elementary => "type" in kind; /* * UserDefinedValueType (extends Elementary)