Merge all configuration options according to priority: defaults < environment < explicit options

Headers are simply replaced, not merged.

You can call this function before instantiating the client if you need to retain access to the options that were passed in to the client.

  • Parameters

    • __namedParameters: {
          getEnvironmentOptions?: () => Partial<ClientOptions>;
          options?: Partial<ClientOptions>;
      } = {}

    Returns ClientOptions