diff --git a/stdlib/zlib/0/gzip_writer.rbs b/stdlib/zlib/0/gzip_writer.rbs index 9dfc47c8c..4f6cc0836 100644 --- a/stdlib/zlib/0/gzip_writer.rbs +++ b/stdlib/zlib/0/gzip_writer.rbs @@ -38,7 +38,8 @@ module Zlib # returns a GzipWriter object associated with that file. Further details of # this method are found in Zlib::GzipWriter.new and Zlib::GzipFile.wrap. # - def self.open: (String filename) { (instance gz) -> void } -> instance + def self.open: (String filename, ?Integer level, ?Integer strategy, **untyped opts) -> instance + | (String filename, ?Integer level, ?Integer strategy, **untyped opts) { (instance gz) -> void } -> nil #