diff --git a/lib/shopify_api/context.rb b/lib/shopify_api/context.rb index c6d66216..c5133bd2 100644 --- a/lib/shopify_api/context.rb +++ b/lib/shopify_api/context.rb @@ -12,7 +12,7 @@ class Context @is_private = T.let(false, T::Boolean) @private_shop = T.let(nil, T.nilable(String)) @is_embedded = T.let(true, T::Boolean) - @logger = T.let(::Logger.new($stdout), ::Logger) + @logger = T.let(::Logger.new($stdout), T.untyped) @log_level = T.let(:info, Symbol) @notified_missing_resources_folder = T.let({}, T::Hash[String, T::Boolean]) @active_session = T.let(Concurrent::ThreadLocalVar.new { nil }, T.nilable(Concurrent::ThreadLocalVar)) @@ -33,7 +33,7 @@ class << self is_private: T::Boolean, is_embedded: T::Boolean, log_level: T.any(String, Symbol), - logger: ::Logger, + logger: T.untyped, host_name: T.nilable(String), host: T.nilable(String), private_shop: T.nilable(String), @@ -116,7 +116,7 @@ def load_rest_resources(api_version:) sig { returns(Auth::AuthScopes) } attr_reader :scope - sig { returns(::Logger) } + sig { returns(T.untyped) } attr_reader :logger sig { returns(Symbol) }