core/file.rbs in rbs-1.0.4 vs core/file.rbs in rbs-1.0.5
- old
+ new
@@ -983,10 +983,11 @@
class File::Stat < Object
include Comparable
def initialize: (String file) -> Object
- def <=>: (File::Stat other) -> Integer?
+ def <=>: (File::Stat other) -> Integer
+ | (untyped) -> nil
def atime: () -> Time
def birthtime: () -> Time