Skip to content

Commit

Permalink
chore: support export single function
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukiniro committed May 17, 2023
1 parent ab20e96 commit 9fbf3a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "miis",
"version": "1.1.4",
"version": "1.1.5",
"description": "Tiny functional event subscriber and dispatcher.",
"main": "dist/miis.cjs",
"module": "dist/miis.mjs",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ function resetScope() {
curScope = "default";
}

export { subscribe, dispatch, setScope, getScope, resetScope, clear };

export default {
subscribe,
dispatch,
Expand Down

0 comments on commit 9fbf3a5

Please sign in to comment.