Browse Source

JSM: Update TS file for DragControls

Mugen87 6 years ago
parent
commit
c7c9e879cc
1 changed files with 3 additions and 2 deletions
  1. 3 2
      examples/jsm/controls/DragControls.d.ts

+ 3 - 2
examples/jsm/controls/DragControls.d.ts

@@ -1,9 +1,10 @@
 import {
   Camera,
-	Object3D
+  EventDispatcher,
+  Object3D
 } from '../../../src/Three';
 
-export class DragControls {
+export class DragControls extends EventDispatcher {
   constructor(objects: Object3D[], camera: Camera, domElement?: HTMLElement);
 
   object: Camera;