diff --git a/core/array.rbs b/core/array.rbs index a368c1c23..e6f0f13dc 100644 --- a/core/array.rbs +++ b/core/array.rbs @@ -2182,7 +2182,7 @@ class Array[unchecked out Elem] < Object # # Related: see [Methods for Querying](rdoc-ref:Array@Methods+for+Querying). # - def include?: (Elem object) -> bool + def include?: (untyped object) -> bool # # Returns the zero-based integer index of a specified element, or `nil`. diff --git a/core/enumerable.rbs b/core/enumerable.rbs index e0368f5c6..93694cc11 100644 --- a/core/enumerable.rbs +++ b/core/enumerable.rbs @@ -718,7 +718,7 @@ module Enumerable[unchecked out Elem] : _Each[Elem] # {foo: 0, bar: 1, baz: 2}.include?('foo') # => false # {foo: 0, bar: 1, baz: 2}.include?(0) # => false # - def include?: (Elem arg0) -> bool + def include?: (untyped arg0) -> bool #