lib/souls/api/generate/resolver_rbs.rb in souls-0.60.2 vs lib/souls/api/generate/resolver_rbs.rb in souls-0.60.3
- old
+ new
@@ -12,12 +12,9 @@
File.open(file_path, "w") do |f|
f.write(<<~TEXT)
class Base
end
- module SearchObject
- def self.module: (Symbol) -> untyped
- end
class #{singularized_class_name.camelize}Search < Base
include SearchObject
def self.scope: () ?{ () -> nil } -> [Hash[Symbol, untyped]]
def self.type: (*untyped) -> String
def self.option: (:filter, type: untyped, with: :apply_filter) -> String