diff --git a/threejs/three-orbitcontrols.d.ts b/threejs/three-orbitcontrols.d.ts index 4f905caa5..e2c4a3cae 100644 --- a/threejs/three-orbitcontrols.d.ts +++ b/threejs/three-orbitcontrols.d.ts @@ -38,5 +38,11 @@ declare module THREE { mouseButtons: { ORBIT: MOUSE; ZOOM: MOUSE; PAN: MOUSE; }; update():void; + + // EventDispatcher mixins + addEventListener(type: string, listener: (event: any) => void ): void; + hasEventListener(type: string, listener: (event: any) => void): void; + removeEventListener(type: string, listener: (event: any) => void): void; + dispatchEvent(event: { type: string; target: any; }): void; } -} \ No newline at end of file +}