brew/Library/Homebrew/extend/hash/deep_transform_values.rbi
Douglas Eichelberger 8a71570a6b brew style --fix
2024-02-18 15:47:56 -08:00

18 lines
464 B
Ruby

# typed: strict
class Hash
sig {
type_parameters(:out).params(
block: T.proc.params(o: Hash::V).returns(T.type_parameter(:out)),
).returns(T::Hash[Hash::K, T.type_parameter(:out)])
}
def deep_transform_values(&block); end
sig {
type_parameters(:out).params(
block: T.proc.params(o: Hash::V).returns(T.type_parameter(:out)),
).returns(T::Hash[Hash::K, T.type_parameter(:out)])
}
def deep_transform_values!(&block); end
end