首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
charlesLZQ
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
6
文章 6
沸点 0
赞
6
返回
|
搜索文章
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 5 Playground
探索、学习和共享TypeScript代码的实时环境。尝试不同的编译器标志,运行大量的代码示例,以了解TypeScript如何工作的细节。...
1
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-8 Handbook Modules
In TypeScript, any file containing a top-level import or export is considered a module...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-7 Handbook Classes
Classes TypeScript OOP 面向对象编程 TypeScript offers full support for the class keyword int...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-6-8 Handbook Type Manipulation 8
模板文字类型建立在字符串文字类型的基础上,并且能够通过 联合 扩展为许多字符串。它们的语法与JavaScript中的模板文字字符串相同,但用于类型位置。当与具体文字类型一起...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-6-7 Handbook Type Manipulation 7
Mapped types(映射类型)基于index signatures(索引签名)的语法构建,索引签名用于声明尚未提前声明的属性类型·...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-6-6 Handbook Type Manipulation 6
SomeType **extends** OtherType **?** TrueType **:** FalseType;...
0
评论
分享
charlesLZQ
3年前
关注
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: 我们可以...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-6-4 Handbook Type Manipulation 4
只有对标识符(比如变量名)或者他们的属性,使用 typeof 才是合法的。这有助于避免编写您认为正在执行的代码时出现的令人困惑的陷阱,但是没有...
0
评论
分享
charlesLZQ
赞了这篇文章
LBJ
FE
·
3年前
关注
焕然一新的 Vue 3 中文文档要来了🎉
这是一份即将焕然一新的 cn.vuejs.org的学习笔记,此文附50张脑图,带你一起了解 Vue 3 新文档有哪些新的变化🕵️♂️...
2.9k
213
分享
charlesLZQ
赞了这篇文章
前端小黑
前端开发工程师 @DJI
·
3年前
关注
如何在项目中用好 TypeScript 🤔
我们都知道,JavaScript 是一门非常灵活的编程语言,这种灵活性一方面使得它成为最受欢迎的编程语言,另一方面也使得它的代码质量参差不齐,维护成本高,运行时错误多。...
1.3k
91
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-6-3 Handbook Type Manipulation 3
keyof运算符采用对象类型并生成其键的字符串或数字字面量的并集。当与映射类型mapped types结合使用时,keyof类型变得特别有用...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 指南 Part 1-2 Documentation Big Indexes 文档大索引
https://www.typescriptlang.org/ https://www.typescriptlang.org/docs/...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-6-2 Handbook Type Manipulation 2
Generics A major part of software engineering is building components that not only hav...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-6-1 Handbook Type Manipulation 1
我们有各种类型的运算符可供使用。也可以根据我们已有的**值**来表示类型。通过组合各种类型的运算符,我们可以以简洁、可维护的方式表达复杂的操作和值。...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-5 Handbook Object Types
Object Types In JavaScript, the fundamental way that we group and pass around data(分组并...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-4 Handbook More on Functions
More on Functions 函数类型表达式 调用签名 构造器签名 泛型函数 推断 约束 实战泛型约束值 指定类型实参 编写良好泛型函数的准则 可选形参 回调中的可选...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-3 Handbook 类型窄化
Narrowing typeof type guards, typeof类型保护 Truthiness narrowing, 真值窄化 Equality narrowing...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-3 Handbook 常用类型
介绍JavaScript代码中最常见的值的类型,并解释在TypeScript中描述这些类型的相应方法...
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 4-2 Handbook TS基础
The Basics 30m Welcome to the first page of the handbook....
0
评论
分享
charlesLZQ
3年前
关注
TypeScript 学习指南 Part 2-5 Get Started 5分钟上手TS工具
Let’s get started by building a simple web application with TypeScript...
0
评论
分享
下一页
个人成就
文章被点赞
1
文章被阅读
4,275
掘力值
228
关注了
44
关注者
0
收藏集
3
关注标签
17
加入于
2018-07-23