公式ドキュメント module chapter TypeScript provides this keyword Modules - TypeScript import = ES6 "export = " and "import = require()" this is required by TypeScript deeper export = official TypeScript module advice which is used in different ways [++doc++] export = https://www.typescriptlang.org/docs/handbook/modules.html same approach for namespaces and modules as JS import this is required by TypeScript Modules same concept of a module as ES6 https://www.typescriptlang.org/docs/handbook/modules.html dynamic module loading đây ES6 modules typescript module Modules import = https://www.typescriptlang.org/docs/handbook/modules.html import export = 官方文档 import = Modules https://www.typescriptlang.org/docs/handbook/modules.html ES6 Module file resolution TypeScript import = Do not use namespaces in modules ES6 import = на этой странице https://www.typescriptlang.org/docs/handbook/modules.html TypeScript modules https://www.typescriptlang.org/docs/handbook/modules.html https://www.typescriptlang.org/docs/handbook/modules.html TypeScript provides this keyword ES6 modules import = official modules advice from TypeScript ambient modules declaration file import https://www.typescriptlang.org/docs/handbook/modules.html export = TypeScript modules Modules documentation import = ambient modules export = https://www.typescriptlang.org/docs/handbook/modules.html export = and import = require() TypeScript Handbook https://www.typescriptlang.org/docs/handbook/modules.html import = ES modules 见此处 ambient module Modules portion of the TypeScript documentation ES6 modules exported import https://www.typescriptlang.org/docs/handbook/modules.html export = TypeScript Handbook module chapter 自己编写.d.ts文件并使用它 official modules advice from TypeScript https://www.typescriptlang.org/docs/handbook/modules.html ES6 modules ES6 module chapter official TypeScript module advice ambient type ambient modules export = The TypeScript Handbook says export = import = ES6 modules The TypeScript Handbook says https://www.typescriptlang.org/docs/handbook/modules.html export =