sig/definition_builder.rbs in rbs-0.19.0 vs sig/definition_builder.rbs in rbs-0.20.0

- old
+ new

@@ -91,7 +91,10 @@ def validate_params_with: (AST::Declarations::ModuleTypeParams, result: VarianceCalculator::Result) { (AST::Declarations::ModuleTypeParams::TypeParam) -> void } -> void def validate_parameter_variance: (decl: AST::Declarations::Class | AST::Declarations::Module | AST::Declarations::Interface, methods: Hash[Symbol, Definition::Method]) -> void def expand_alias: (TypeName) -> Types::t + + type attributes = AST::Members::AttrReader | AST::Members::AttrWriter | AST::Members::AttrAccessor + def build_attribute: (type_name: TypeName, definition: Definition, member: attributes, accessibility: Definition::accessibility) -> void end end