Comments (1)
@Archsx 感谢关注!
在设置该 jekyll 模版时并没有配置好“联系”功能,所以可能这个功能实际上一直不可用,抱歉。
关于 TS 里的 Intersection 的理解,您说的也有道理,之前也和其他人讨论过这一点。可能是文中使用的中文不够精准,容易产生(与数学概念中的专有名词相冲突)的歧义,还是应该把 TS 里的 intersection 称为 “交叉类型” (而不是集合)、union 称为联合类型,这样可能会分的更清楚一些。
另外,
IAppleBanana 具有全部的三种属性 name, color, length,因此它既可以认为是 IApple,也可以认为是 IBanana, 是 IApple 与 IBanana 的交集”
从数学集合的角度来讲,“满足 IAppleBanana 的约束的类型”是一定满足 IApple
约束 以及 IBanana 约束的,那它的确是“所有满足 IApple 约束的类型” 与 “所有满足IBanana 约束的类型” 的交集。
from aprilandjan.github.io.
Related Issues (2)
- 这个博客的样式可以改进吗? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aprilandjan.github.io.