Annotate return value of a method to be same type as class variable type

后端 未结 0 1532
孤城傲影
孤城傲影 2021-01-18 02:45

I\'m creating base class for data provider, so I want to make type annotations indicate that methods return same type of objects as this provider works with:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题