[0.0.2] Set SubscribabelEvent class as the default export
This commit is contained in:
Родитель
d46d78563f
Коммит
b4db760ad1
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "subscribableevent",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"description": "A simple strongly-typed pub/sub/fire eventing system",
|
||||
"author": "ReactXP Team <reactxp@microsoft.com>",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -20,7 +20,7 @@ export class SubscriptionToken {
|
|||
}
|
||||
}
|
||||
|
||||
export class SubscribableEvent<F extends { (...args: any[]): boolean|void }> {
|
||||
export default class SubscribableEvent<F extends { (...args: any[]): boolean|void }> {
|
||||
private _subscribers: Function[];
|
||||
|
||||
constructor() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче