Skip to content

Commit

Permalink
Merge pull request #101 from Shopify/rafaelfranca-patch-1
Browse files Browse the repository at this point in the history
`Rails.application.config` is untyped
  • Loading branch information
rafaelfranca authored Aug 29, 2022
2 parents b5ccbb0 + 64df835 commit 276bab9
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions rbi/annotations/railties.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,15 @@ module Rails
end

class Rails::Application < ::Rails::Engine
sig { returns(Rails::Application::Configuration) }
sig { returns(T.untyped) }
def config; end
end

module Rails::Command::Behavior
mixes_in_class_methods ::Rails::Command::Behavior::ClassMethods
end

class Rails::Engine < ::Rails::Railtie
sig { returns(ActionDispatch::Routing::RouteSet) }
def routes(&block); end
end

module Rails::Generators::Migration
mixes_in_class_methods ::Rails::Generators::Migration::ClassMethods
end

module Rails::Initializable
mixes_in_class_methods ::Rails::Initializable::ClassMethods
end

class Rails::Railtie
sig { params(block: T.proc.bind(Rails::Railtie).void).void }
def configure(&block); end
Expand Down

0 comments on commit 276bab9

Please sign in to comment.