会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
L&Wxq
学无止境,好好学习
博客园
首页
新随笔
联系
订阅
管理
2020年8月19日
TypeScript(自学)
摘要: 1 以下代码虽然没有指定类型,但是会在编译的时候报错:let myFavoriteNumber = 'seven'; myFavoriteNumber = 7; // index.ts(2,1): error TS2322: Type 'number' is not assignable to ty
阅读全文
posted @ 2020-08-19 10:04 lxgwxq
阅读(201)
评论(0)
推荐(0)
编辑
公告