Przeglądaj źródła

Merge pull request #15873 from Methuselah96/fix-math

Fix export of TypeScript Math namespace
Mr.doob 6 lat temu
rodzic
commit
9e247f0aa9
1 zmienionych plików z 1 dodań i 1 usunięć
  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';