stdlib/pathname/0/pathname.rbs in rbs-1.0.0.pre vs stdlib/pathname/0/pathname.rbs in rbs-1.0.0.pre2
- old
+ new
@@ -371,10 +371,10 @@
# # -> [ Pathname:English.rb, Pathname:Env.rb, Pathname:abbrev.rb, ... ]
#
# Note that the results never contain the entries `.` and `..` in the directory
# because they are not children.
#
- def children: (?boolish with_directory) -> untyped
+ def children: (?boolish with_directory) -> Array[Pathname]
# Changes file permissions.
#
# See File.chmod.
#