Accept a mixed type tuple in a function without losing type checking

后端 未结 0 1556
孤独总比滥情好
孤独总比滥情好 2020-12-02 00:33
import encodeParam from \'./encodeParam\'

interface UrlParam {
  name: string
  defaultValue: T
  encode: (value: T) => string | null
  decode: (value:          


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