# 03 · module-augmentation **演示**:`import 'analytics'` 后用 `declare module 'analytics'` 给 `Tracker` 增加 `trackPage`。 **运行**:无运行时输出;Console 为空。 **类型检查**:`node node_modules/typescript/bin/tsc -p examples/13-declaration-files/03-module-augmentation/tsconfig.types.json` **注意**:模块增强必须先 import 目标模块;相对路径不能用于 `declare module`。