Add IBuffer, IBufferSet and fix CircularList type
This commit is contained in:
committed by
Paris Kasidiaris
parent
cb5a452c90
commit
59f75555bc
+3
-1
@@ -2,12 +2,14 @@
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
import { IEventEmitter } from './Interfaces';
|
||||
|
||||
interface ListenerType {
|
||||
(): void;
|
||||
listener?: () => void;
|
||||
};
|
||||
|
||||
export class EventEmitter {
|
||||
export class EventEmitter implements IEventEmitter {
|
||||
private _events: {[type: string]: ListenerType[]};
|
||||
|
||||
constructor() {
|
||||
|
||||
Reference in New Issue
Block a user