猫でもわかるWebプログラミングと副業

本業エンジニアリングマネージャー。副業Webエンジニア。Web開発のヒントや、副業、日常生活のことを書きます。

TypeScript 1.5 から internal modules の名前が "namespace" に変わったらしい

A note about terminology: It’s important to note that in TypeScript 1.5, the nomenclature has changed. “Internal modules” are now “namespaces”. “External modules” are now simply “modules”, as to align with ECMAScript 2015’s terminology, (namely that module X { is equivalent to the now-preferred namespace X {).

Namespaces · TypeScript

<重要>TypeScript 1.5 から、"Interna modules" という名前は "namespace" に変わりました。"External modules" は単に "modules" となりました。 これはES2015の命名規則にならったものです。( module X {namespace X{ と同じ意味です)