Pārlūkot izejas kodu

Merge pull request #15873 from Methuselah96/fix-math

Fix export of TypeScript Math namespace
Mr.doob 6 gadi atpakaļ
vecāks
revīzija
9e247f0aa9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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';