Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Aug 28, 2024
1 parent 881b85f commit 9a4368d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_indexer/lib/ruby_indexer/index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def existing_or_new_singleton_class(name)
sig do
type_parameters(:T).params(
path: String,
type: T::Class[T.all(T.type_parameter(:T), Entry)],
type: T.nilable(T::Class[T.all(T.type_parameter(:T), Entry)]),
).returns(T::Array[T.type_parameter(:T)])
end
def entries_for(path, type = nil)
Expand Down

0 comments on commit 9a4368d

Please sign in to comment.