2
0
Эх сурвалжийг харах

TS: Move Event definition to the right place.

Mugen87 5 жил өмнө
parent
commit
fb0ec320c8

+ 8 - 1
src/core/EventDispatcher.d.ts

@@ -1,4 +1,11 @@
-import { Event } from './Face3';
+/**
+ * Event object.
+ */
+export interface Event {
+	type: string;
+	target?: any;
+	[attachment: string]: any;
+}
 
 /**
  * JavaScript events for custom objects

+ 0 - 6
src/core/Face3.d.ts

@@ -1,12 +1,6 @@
 import { Vector3 } from './../math/Vector3';
 import { Color } from './../math/Color';
 
-export interface Event {
-	type: string;
-	target?: any;
-	[attachment: string]: any;
-}
-
 /**
  * Triangle face.
  *