Skip to content

Commit

Permalink
type fixes and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Dec 11, 2022
1 parent 09bbe10 commit b3727f7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/event-listener.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Generated by dts-bundle-generator v6.12.0

/**
* Advanced event listener based on subscribe / publish pattern.
*
Expand Down Expand Up @@ -29,4 +27,6 @@ export declare const removeListener: (element: EventTarget, eventType: string, l
export declare const on: typeof addListener;
export declare const off: typeof removeListener;

export as namespace Listener;

export {};
4 changes: 4 additions & 0 deletions dts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const config = {
filePath: "./src/index.ts",
outFile: `./dist/${getPackageName()}.d.ts`,
noCheck: false,
output: {
umdModuleName: 'Listener',
noBanner: true,
}
},
],
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thednp/event-listener",
"author": "thednp",
"version": "2.0.0alpha5",
"version": "2.0.0alpha6",
"description": "Modern event listener for efficient web applications based on subscribe-publish pattern.",
"license": "MIT",
"homepage": "https://thednp.github.io/event-listener",
Expand Down

0 comments on commit b3727f7

Please sign in to comment.