Why do I have to specify parameter names in a TS function type?

前端 未结 3 699
一整个雨季
一整个雨季 2020-11-30 15:19

I am using typescript to write some function and this is the one that TS accepts:

export const useSomething = () => {
    const useStorage = <         


        
3条回答
提交回复
热议问题