TypeScript - Cast SubClass to SuperClass

前端 未结 0 770
迷失自我
迷失自我 2021-01-27 19:20

is there a simple solution to the following problem? I want to cast the object B into the object A.

Thank your for your solutions.

export interface A {
  a         


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