What are narrowed generics function for in Typescript?

后端 未结 0 1840
甜味超标
甜味超标 2021-02-13 15:54

let\'s suppose we have this interface:

interface MyInterface {
    content: string;
}

used by these three functions:

function fn1&         


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