We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c57a6f commit 0356259Copy full SHA for 0356259
2 files changed
deno.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@typescriptplayground/custom-event-target",
3
- "version": "0.1.1",
+ "version": "0.1.2",
4
"exports": {
5
".": "./src/index.ts"
6
},
src/custom_event_target.ts
@@ -1,9 +1,10 @@
+// deno-lint-ignore-file no-explicit-any
+
/**
* A function that handles a {@link CustomEvent} with a specific detail type.
*
* @template Detail Type of the `detail` property in the CustomEvent
7
*/
-// deno-lint-ignore-file no-explicit-any
8
export type CustomEventListener<Detail = any> =
9
(event : CustomEvent<Detail>) => void;
10
0 commit comments