hyan23 / blog-comments

0 stars 0 forks source link

模块 | Hyan Lee #48

Open hyan23 opened 4 years ago

hyan23 commented 4 years ago

https://hyan23.org/2019/11/20/ts-modules/

状态: 草稿 命名声明:为了与 ECMAScript 2015 保持一致.从 TypeScript 1.5 开始, 我们对命名法做了少许调整.“内部模块”现在叫做”名字空间”.“外部模块”现在叫做”模块”.具体而言, namespace X { 等同于原来的 module X {. A note about terminology:It’s important to note that in T