首页
编程
IT技术
数码大全
登录
标签
javascriptWhy Type 39number39 is
javascript - Why Type 'number' is not assignable to type 'T'? - Stack Overflow
function say3<T>(a: T): T { return a + 1; } let speak = say3<number>(1)I tried the demo,
javascriptWhy Type 39number39 is not assignable to type 39T39Stack Overflow
admin
14小时前
3
0