Explorar el Código

Export types as namespace

Nathan Bierema hace 6 años
padre
commit
a4292a1959
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/Three.d.ts

+ 2 - 0
src/Three.d.ts

@@ -172,3 +172,5 @@ export * from './renderers/webgl/WebGLUniforms';
 export * from './renderers/webvr/WebVRManager';
 export * from './constants';
 export * from './Three.Legacy';
+
+export as namespace THREE;