Comparing version
/** | ||
* A symbol that can be used as an event name to listen to all events. | ||
* A event name that can be used to listen to all events. | ||
*/ | ||
declare const ANY_EVENT: unique symbol; | ||
declare const ANY_EVENT: "$ ANY_EVENT $"; | ||
type ANY_EVENT = typeof ANY_EVENT; | ||
@@ -6,0 +6,0 @@ |
'use strict'; | ||
// src/constants.ts | ||
var ANY_EVENT = Symbol("any"); | ||
var ANY_EVENT = "$\u2009ANY_EVENT\u2009$"; | ||
@@ -6,0 +6,0 @@ // src/utils.ts |
{ | ||
"name": "remitter", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A TypeScript friendly event emitter with easy re-emitting events.", |
/** | ||
* A symbol that can be used as an event name to listen to all events. | ||
* A event name that can be used to listen to all events. | ||
*/ | ||
export const ANY_EVENT = Symbol("any"); | ||
export const ANY_EVENT = "$\u2009ANY_EVENT\u2009$" as const; | ||
export type ANY_EVENT = typeof ANY_EVENT; |
Sorry, the diff of this file is not supported yet
31528
0.08%