trufflesuite/truffle

View on GitHub
packages/hdwallet-provider/src/constructor/ConstructorArguments.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type * as LegacyConstructor from "./LegacyConstructor";
import type * as Constructor from "./Constructor";

/*
 * top-level polymorphic type
 */
export type ConstructorArguments =
  | LegacyConstructor.Arguments // either the old-style tuple type
  | [Constructor.InputOptions]; // or polymorphic new-style options