Sfoglia il codice sorgente

Export types as namespace

Nathan Bierema 6 anni fa
parent
commit
a4292a1959
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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;