Explorar el Código

Merge pull request #15873 from Methuselah96/fix-math

Fix export of TypeScript Math namespace
Mr.doob hace 6 años
padre
commit
9e247f0aa9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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';