stdlib/builtin/struct.rbs in rbs-0.14.0 vs stdlib/builtin/struct.rbs in rbs-0.15.0

- old
+ new

@@ -29,10 +29,10 @@ class Struct[Elem] < Object include Enumerable[Elem, Struct[Elem]] type attribute_name = Symbol | String - def initialize: (attribute_name, *attribute_name, ?keyword_init: bool) ?{ () -> void } -> void + def initialize: (attribute_name, *attribute_name, ?keyword_init: boolish) ?{ () -> void } -> void def each: () { (Elem) -> untyped } -> untyped def self.members: () -> ::Array[Symbol] end