ruby / gem_rbs_collection

A collection of RBS for gems.
MIT License
246 stars 101 forks source link

Fixed Mysql2::Client#query return value to be uniquely determined #564

Closed euglena1215 closed 1 month ago

euglena1215 commented 1 month ago

The return value of Mysql2::Client#query is determined by the combination of the as argument of the self.new method and the query method. Fixed it so that it can be expressed using Generics.

github-actions[bot] commented 1 month ago

@euglena1215 Thanks for your contribution!

Please follow the instructions below for each change. See also: https://github.com/ruby/gem_rbs_collection/blob/main/docs/CONTRIBUTING.md

Available commands

You can use the following commands by commenting on this PR.


mysql2

You changed RBS files for an existing gem. This gem does not have reviewers. So you can merge this PR immediately if the CI passes. We recommend you add yourself to the reviewers for this gem.

euglena1215 commented 1 month ago

/merge