Skip to content

Commit

Permalink
Merge pull request #126 from leifg/update-sidekiq-annotation
Browse files Browse the repository at this point in the history
update sidekiq annotation
  • Loading branch information
KaanOzkan authored Nov 8, 2022
2 parents 86bde64 + efa61a3 commit c752b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@
"rake/tasklib",
"rails",
"sidekiq/cli",
"sidekiq/extensions/action_mailer",
"sidekiq/extensions/active_record",
"sidekiq/extensions/class_methods",
"sidekiq/web"
]
},
Expand Down
4 changes: 2 additions & 2 deletions rbi/annotations/sidekiq.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ class Sidekiq::SortedSet
Elem = type_member {{fixed: Sidekiq::SortedEntry}}
end

module Sidekiq::Worker
module Sidekiq::Job
sig { returns(String) }
def jid; end
end

module Sidekiq::Worker::ClassMethods
module Sidekiq::Job::ClassMethods
sig { params(args: T.untyped).returns(String) }
def perform_async(*args); end

Expand Down

0 comments on commit c752b61

Please sign in to comment.