Skip to content

Commit

Permalink
Merge pull request #116 from connorshea/perf-improvement-typed-object
Browse files Browse the repository at this point in the history
Disable typechecking on the name attribute for TypedObject.
  • Loading branch information
AaronC81 committed Jul 5, 2021
2 parents 603671d + f047f74 commit 3ba701c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/parlour/typed_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def initialize(name)
# @return [Plugin, nil]
attr_reader :generated_by

sig { returns(String) }
sig { returns(String).checked(:never) }
# The name of this object.
# @return [String]
attr_reader :name
Expand Down Expand Up @@ -84,4 +84,4 @@ def generate_comments(indent_level, options)
: []
end
end
end
end

0 comments on commit 3ba701c

Please sign in to comment.