标签: typescript
例如
import * as math from 'mathjs'; // Cannot augment module 'math' with value exports because it resolves to a non-module entity. declare module "mathjs" { let foo: number; }
如果 math 不是模块实体,那么它是什么?为什么这会阻止您通过价值导出来扩大它?
math