Skip to content

Commit 0356259

Browse files
committed
fix
1 parent 8c57a6f commit 0356259

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typescriptplayground/custom-event-target",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"exports": {
55
".": "./src/index.ts"
66
},

src/custom_event_target.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
// deno-lint-ignore-file no-explicit-any
2+
13
/**
24
* A function that handles a {@link CustomEvent} with a specific detail type.
35
*
46
* @template Detail Type of the `detail` property in the CustomEvent
57
*/
6-
// deno-lint-ignore-file no-explicit-any
78
export type CustomEventListener<Detail = any> =
89
(event : CustomEvent<Detail>) => void;
910

0 commit comments

Comments
 (0)