Defining type of function which I want to take as an input : Typescript

后端 未结 0 450
遥遥无期
遥遥无期 2020-12-29 14:54

I want to make sure that my input accepts only below function as an argument:

  async getAll(url: string, params?: any): Promise

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