File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ const kPropagationStopped = Symbol('kPropagationStopped')
44
44
45
45
export namespace Emitter {
46
46
/**
47
- * Infers the listener type for the given event type.
47
+ * Returns the listener type for the given event type.
48
48
*
49
49
* @example
50
50
* const emitter = new Emitter<{ getTotalPrice: [Cart, number] }>()
@@ -61,7 +61,7 @@ export namespace Emitter {
61
61
>
62
62
63
63
/**
64
- * Infers the return type of the listener for the given event type.
64
+ * Returns the return type of the listener for the given event type.
65
65
*
66
66
* @example
67
67
* const emitter = new Emitter<{ getTotalPrice: [Cart, number] }>()
@@ -75,7 +75,7 @@ export namespace Emitter {
75
75
> = EventMap [ Type ] [ 1 ]
76
76
77
77
/**
78
- * Infers an appropriate `Event` type for the given event type.
78
+ * Returns an appropriate `Event` type for the given event type.
79
79
*
80
80
* @example
81
81
* const emitter = new Emitter<{ greeting: [string] }>()
You can’t perform that action at this time.
0 commit comments