会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wmui
首页
新随笔
管理
2021年10月12日
ts笔记-类型系统
摘要: 在ts中,类型系统被设计为可选的,因此可以认为js就是没有类型声明的ts。 类型注解使用 :TypeAnnotation 语法 原始类型 let num: number; let str: string; let bool: boolean; :number、:string、:boolean都是原始
阅读全文
posted @ 2021-10-12 17:47 wmui
阅读(207)
评论(0)
推荐(0)
编辑
公告