@lgriffin/esi.ts - EVE Online ESI API Client - v12.3.0
    Preparing search index...

    Function requireOptionalPeer

    • Requires an optional peer. When it is not installed, throws an SdeError naming the package, what needs it and the command that installs it. Any other failure while loading the peer is rethrown unchanged.

      Type Parameters

      • T

      Parameters

      • peer: OptionalPeer
      • neededFor: string
      • load: RequireFn = requireFromPackage

      Returns T