Browse Source

Export types as namespace

Nathan Bierema 6 năm trước cách đây
mục cha
commit
a4292a1959
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;