TS中模块加载机制 import { a } from 'moduleA' // 1. 模块文件 // 2. 外部模块声明 .d.ts // 3. 抛出错误 cannot find module 'moduleA'