From 32145f3cb76c668af1c172fa9cea5ab102ecf565 Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Fri, 21 Feb 2020 11:49:20 -0500 Subject: Add note about manually firing "*" handlers --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index 116b7d8..d9b36f8 100644 --- a/src/index.js +++ b/src/index.js @@ -49,6 +49,8 @@ export default function mitt(all: EventHandlerMap) { * Invoke all handlers for the given type. * If present, `"*"` handlers are invoked after type-matched handlers. * + * Note: Manually firing "*" handlers is not supported. + * * @param {String} type The event type to invoke * @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler * @memberOf mitt -- cgit v1.2.3