首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
charlesLZQ
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
6
文章 6
沸点 0
赞
6
返回
|
搜索文章
最新
热门
TypeScript 学习指南 Part 5 Playground
探索、学习和共享TypeScript代码的实时环境。尝试不同的编译器标志,运行大量的代码示例,以了解TypeScript如何工作的细节。
TypeScript 学习指南 Part 4-8 Handbook Modules
In TypeScript, any file containing a top-level import or export is considered a module.
TypeScript 学习指南 Part 4-7 Handbook Classes
Classes TypeScript OOP 面向对象编程 TypeScript offers full support for the class keyword introduced in ES6
TypeScript 学习指南 Part 4-6-8 Handbook Type Manipulation 8
模板文字类型建立在字符串文字类型的基础上,并且能够通过 联合 扩展为许多字符串。它们的语法与JavaScript中的模板文字字符串相同,但用于类型位置。当与具体文字类型一起使用时,模板文字通过连接内容
TypeScript 学习指南 Part 4-6-7 Handbook Type Manipulation 7
Mapped types(映射类型)基于index signatures(索引签名)的语法构建,索引签名用于声明尚未提前声明的属性类型·
TypeScript 学习指南 Part 4-6-6 Handbook Type Manipulation 6
SomeType **extends** OtherType **?** TrueType **:** FalseType;
TypeScript 学习指南 Part 4-6-5 Handbook Type Manipulation 5
We can use an indexed access type to look up a specific property on another type: 我们可以使用索引式访问type来查找
TypeScript 学习指南 Part 4-6-4 Handbook Type Manipulation 4
只有对标识符(比如变量名)或者他们的属性,使用 typeof 才是合法的。这有助于避免编写您认为正在执行的代码时出现的令人困惑的陷阱,但是没有
TypeScript 学习指南 Part 4-6-3 Handbook Type Manipulation 3
keyof运算符采用对象类型并生成其键的字符串或数字字面量的并集。当与映射类型mapped types结合使用时,keyof类型变得特别有用
TypeScript 指南 Part 1-2 Documentation Big Indexes 文档大索引
https://www.typescriptlang.org/ https://www.typescriptlang.org/docs/
下一页
个人成就
文章被点赞
1
文章被阅读
4,272
掘力值
228
关注了
44
关注者
0
收藏集
3
关注标签
17
加入于
2018-07-23