浏览代码

Fix export of TypeScript Math namespace

Nathan Bierema 6 年之前
父节点
当前提交
aedee38e44
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Three.d.ts

+ 1 - 1
src/Three.d.ts

@@ -105,7 +105,7 @@ export * from './math/interpolants/DiscreteInterpolant';
 export * from './math/interpolants/CubicInterpolant';
 export * from './math/Interpolant';
 export * from './math/Triangle';
-export * from './math/Math';
+export { _Math as Math } from './math/Math';
 export * from './math/Spherical';
 export * from './math/Cylindrical';
 export * from './math/Plane';