فهرست منبع

TS: Move Event definition to the right place.

Mugen87 5 سال پیش
والد
کامیت
fb0ec320c8
2فایلهای تغییر یافته به همراه8 افزوده شده و 7 حذف شده
  1. 8 1
      src/core/EventDispatcher.d.ts
  2. 0 6
      src/core/Face3.d.ts

+ 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.
  *