core/module.rbs in rbs-3.0.0.dev.1 vs core/module.rbs in rbs-3.0.0.dev.2
- old
+ new
@@ -1534,7 +1534,7 @@
# The first form is equivalent to #attr_reader. The second form is equivalent to
# `attr_accessor(name)` but deprecated. The last form is equivalent to
# `attr_reader(name)` but deprecated. Returns an array of defined method names
# as symbols.
#
- def attr: (*Symbol | String arg0) -> NilClass
+ def attr: (*Symbol | String arg0) -> Array[Symbol]
end