Skip to content

Commit fb0ec32

Browse files
committed
TS: Move Event definition to the right place.
1 parent 1a0dfba commit fb0ec32

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/core/EventDispatcher.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import { Event } from './Face3';
1+
/**
2+
* Event object.
3+
*/
4+
export interface Event {
5+
type: string;
6+
target?: any;
7+
[attachment: string]: any;
8+
}
29

310
/**
411
* JavaScript events for custom objects

src/core/Face3.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import { Vector3 } from './../math/Vector3';
22
import { Color } from './../math/Color';
33

4-
export interface Event {
5-
type: string;
6-
target?: any;
7-
[attachment: string]: any;
8-
}
9-
104
/**
115
* Triangle face.
126
*

0 commit comments

Comments
 (0)