Skip to content

Commit

Permalink
Add severity keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Dec 5, 2023
1 parent 5f0fc1f commit 81c9ef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gems/rubocop/1.57/rubocop.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ module RuboCop
class Base
extend AST::NodePattern::Macros

def add_offense: (untyped node, ?message: String) -> void |
(untyped node, ?message: String) {(Corrector) -> void} -> void
def add_offense: (untyped node, ?message: String, ?severity: Symbol) -> void |
(untyped node, ?message: String, ?severity: Symbol) {(Corrector) -> void} -> void
def cop_config: () -> Hash[String, untyped]
def processed_source: () -> AST::ProcessedSource
end
Expand Down

0 comments on commit 81c9ef2

Please sign in to comment.