Module: RBS::AST::Declarations::ShimTypeParams
Overview
Previously there were specialized types that didn’t include some additional information for type params. So here we wrap them up in order to maintain the same API.
Instance Method Summary collapse
Instance Method Details
#type_params ⇒ Object
23 24 25 |
# File 'lib/syntax_tree/rbs/shims.rb', line 23 def type_params super.params.map { |param| ShimTypeParam.new(param) } end |