2024-01-11 20:03:06 -08:00
|
|
|
# typed: strict
|
|
|
|
|
|
|
|
class Hash
|
|
|
|
sig {
|
|
|
|
type_parameters(:out).params(
|
2024-02-18 15:47:56 -08:00
|
|
|
block: T.proc.params(o: Hash::V).returns(T.type_parameter(:out)),
|
2024-01-11 20:03:06 -08:00
|
|
|
).returns(T::Hash[Hash::K, T.type_parameter(:out)])
|
|
|
|
}
|
|
|
|
def deep_transform_values(&block); end
|
2024-01-12 09:38:49 -08:00
|
|
|
|
2024-01-11 20:03:06 -08:00
|
|
|
sig {
|
|
|
|
type_parameters(:out).params(
|
2024-02-18 15:47:56 -08:00
|
|
|
block: T.proc.params(o: Hash::V).returns(T.type_parameter(:out)),
|
2024-01-11 20:03:06 -08:00
|
|
|
).returns(T::Hash[Hash::K, T.type_parameter(:out)])
|
|
|
|
}
|
|
|
|
def deep_transform_values!(&block); end
|
|
|
|
end
|