How to mock function with generic type using mocked ts-jest/utils

后端 未结 0 1257
青春惊慌失措
青春惊慌失措 2020-12-29 03:07

I have a function like this

const myOtherMethod = (param1: any) => {
  // return some code
}

export const myFunc = (param1: any): T => {
  con         


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