Browse Source

Merge pull request #15873 from Methuselah96/fix-math

Fix export of TypeScript Math namespace
Mr.doob 6 years ago
parent
commit
9e247f0aa9
1 changed files with 1 additions and 1 deletions
  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/interpolants/CubicInterpolant';
 export * from './math/Interpolant';
 export * from './math/Interpolant';
 export * from './math/Triangle';
 export * from './math/Triangle';
-export * from './math/Math';
+export { _Math as Math } from './math/Math';
 export * from './math/Spherical';
 export * from './math/Spherical';
 export * from './math/Cylindrical';
 export * from './math/Cylindrical';
 export * from './math/Plane';
 export * from './math/Plane';