首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
读官网学编程 TypeScript
charlesLZQ
创建于2022-07-03
订阅专栏
读官网学编程 TypeScript
暂无订阅
共23篇文章
创建于2022-07-03
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
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/
TypeScript 学习指南 Part 4-6-2 Handbook Type Manipulation 2
Generics A major part of software engineering is building components that not only have well-defined
TypeScript 学习指南 Part 4-6-1 Handbook Type Manipulation 1
我们有各种类型的运算符可供使用。也可以根据我们已有的**值**来表示类型。通过组合各种类型的运算符,我们可以以简洁、可维护的方式表达复杂的操作和值。
TypeScript 学习指南 Part 4-5 Handbook Object Types
Object Types In JavaScript, the fundamental way that we group and pass around data(分组并传递数据) is throu
TypeScript 学习指南 Part 4-4 Handbook More on Functions
More on Functions 函数类型表达式 调用签名 构造器签名 泛型函数 推断 约束 实战泛型约束值 指定类型实参 编写良好泛型函数的准则 可选形参 回调中的可选形参 函数重载 重载签名与其
TypeScript 学习指南 Part 4-3 Handbook 类型窄化
Narrowing typeof type guards, typeof类型保护 Truthiness narrowing, 真值窄化 Equality narrowing, 等值窄化 The in
TypeScript 学习指南 Part 4-3 Handbook 常用类型
介绍JavaScript代码中最常见的值的类型,并解释在TypeScript中描述这些类型的相应方法
TypeScript 学习指南 Part 4-2 Handbook TS基础
The Basics 30m Welcome to the first page of the handbook.
TypeScript 学习指南 Part 2-4 Get Started 面向函数式程序员的TS导读
TypeScript for Functional Programmers This doc is a high level overview of the syntax and types
TypeScript 学习指南 Part 2-3 Get Started 面向Java/C#程序员的导读
TypeScript for Java/C# Programmers This was a brief overview of the syntax and tools
TypeScript 学习指南 Part 2-2 Get Started 面向JS程序员的TS导读
TypeScript for JavaScript Programmers 5分钟 This was a brief overview of the syntax and tools used in
下一页