How to override @types from package that are a completely different type?

前端 未结 0 634
生来不讨喜
生来不讨喜 2021-01-01 08:59

I am trying to override the Func type in Mocha.

It\'s authored as:

type Func = (this: Context, done: Done) => void;

I

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