首页
教程
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
17天前
11
0