摘要:        
Let's say we have a function accept any type but array. function anyTypesButNotArray<T>( val: T extends any[] ? "you should not pass in array" : T ) {    阅读全文
posted @ 2022-04-22 16:20
Zhentiw
阅读(32)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Constructs a type consisting of the return type of function Type. https://www.typescriptlang.org/docs/handbook/utility-types.html import { configureSt    阅读全文
posted @ 2022-04-22 14:06
Zhentiw
阅读(394)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号