Skip to content

Commit

Permalink
feat: export type ESMitterEvent
Browse files Browse the repository at this point in the history
Signed-off-by: Till Sanders <mail@till-sanders.de>
  • Loading branch information
tillsanders committed Apr 10, 2024
1 parent b922a8f commit dbc555f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esm-itter",
"version": "0.2.0",
"version": "0.3.0",
"description": "ESMitter is a fork of the popular EventEmitter3 with a focus on EcmaScript module syntax, TypeScript and modern tooling.",
"type": "module",
"exports": {
Expand Down
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
export { ESMitter } from "./ESMitter.js";
export { ESMitterListener } from "./ESMitterListener.js";
export type { ESMitterEvents, ESMitterEventName } from "./ESMitter.js";
export type {
ESMitterEvent,
ESMitterEvents,
ESMitterEventName,
} from "./ESMitter.js";

0 comments on commit dbc555f

Please sign in to comment.