mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix type errors when HOMEBREW_SORBET_RUNTIME=1
This commit is contained in:
parent
93ba81208c
commit
33d9dc63b0
@ -3,6 +3,7 @@
|
||||
|
||||
require "cli/parser"
|
||||
require "cask/cask"
|
||||
require "formula"
|
||||
|
||||
module Homebrew
|
||||
module_function
|
||||
|
@ -711,9 +711,9 @@ class Version
|
||||
T.must(version).to_str
|
||||
end
|
||||
|
||||
sig { params(options: Hash).returns(String) }
|
||||
def to_json(**options)
|
||||
version.to_json(**options)
|
||||
sig { params(options: T.untyped).returns(String) }
|
||||
def to_json(*options)
|
||||
version.to_json(*options)
|
||||
end
|
||||
|
||||
sig { params(method: T.any(Symbol, String), include_all: T::Boolean).returns(T::Boolean) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user