Skip to content

Commit bede040

Browse files
akitoshigacursoragent
andcommitted
Fix Sidekiq::Job::Setter#at type
The top-level `float` alias is deprecated in RBS 4. Use `_ToF`, which preserves the accepted argument type without producing a validation warning. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fab0baf commit bede040

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gems/sidekiq/7.0/job.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module Sidekiq
7373

7474
private
7575

76-
def at: (float interval) -> self
76+
def at: (_ToF interval) -> self
7777

7878
def initialize: (singleton(Client) klass, Hash[Symbol | string, untyped] opts) -> void
7979
end

0 commit comments

Comments
 (0)