Event and EventTarget based on typescript
This package contains two base classes, event and EventTarget.
Event is the base class of events, and EventTarget is the base class of sending events. EventTarget is an abstract class, which can only be inherited and cannot be instantiated.
Installation
$ npm install nl-event --save