Warning: Expected 'Type[SuperClass]' got 'SubClass' instead

后端 未结 0 1978
日久生厌
日久生厌 2020-12-01 18:34

I have a function that returns a subclass of type[A], however my linter warns me that B and C are not of type \'type[A]\':



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