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)