Surround super() witch try-catch in typescript

后端 未结 0 1395
温柔的废话
温柔的废话 2020-12-06 00:39

is there way to surround super() calling with try-catch in typescript?

Because there is sometimes error thrown during calling that super() (parent constructor).

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