services/formulae: typed strict

Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
Ruoyu Zhong 2025-08-21 01:00:31 +08:00
parent 214a88e434
commit dde6703237
No known key found for this signature in database

View File

@ -1,4 +1,4 @@
# typed: true # rubocop:todo Sorbet/StrictSigil
# typed: strict
# frozen_string_literal: true
require "services/formula_wrapper"
@ -24,6 +24,7 @@ module Homebrew
end
# List all available services with status, user, and path to the file.
sig { returns(T::Array[T::Hash[Symbol, T.anything]]) }
def self.services_list
available_services.map(&:to_hash)
end