Skip to content

Commit

Permalink
TS: Move Event definition to the right place.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jan 29, 2020
1 parent 1a0dfba commit 7efb316
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 7 additions & 1 deletion src/core/EventDispatcher.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { Event } from './Face3';
/**
* Event object.
*/
export interface Event {
type: string;
target?: any;
}

/**
* JavaScript events for custom objects
Expand Down
6 changes: 0 additions & 6 deletions src/core/Face3.d.ts
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down

0 comments on commit 7efb316

Please sign in to comment.