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 3d2ca2e commit 59b230f
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 @@ -617,7 +617,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 59b230f

Please sign in to comment.