Skip to content

Commit

Permalink
BREAKING: remove the global build. Migration: if you were importing t…
Browse files Browse the repository at this point in the history
…he dist/global.js file with a script tag, instead use \import\ syntax to import eventful into your project.
  • Loading branch information
trusktr committed Oct 23, 2023
1 parent ff89504 commit 82c592b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/Eventful.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Constructor } from 'lowclass';
export declare function Eventful<T extends Constructor>(Base?: T): {
new (...a: any[]): {
on(eventName: string, callback: Function, context?: any): void;
off(eventName: string, callback?: Function, context?: any): void;
off(eventName: string, callback?: Function | undefined, context?: any): void;
emit(eventName: string, data?: any): void;
"__#1@#eventMap": Map<string, Array<[Function, any]>> | null;
};
Expand Down
2 changes: 1 addition & 1 deletion dist/Eventful.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/global.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/global.js.map

This file was deleted.

0 comments on commit 82c592b

Please sign in to comment.