@stacksjs/events 0.75.80 → 0.75.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare function scope<Events extends EventMap>(underlying: Emitter<Event
|
|
|
81
81
|
export declare function defineEvents<const T extends Events & Record< Exclude<keyof T, EventName>, { 'this event name is not declared on AppEvents or AuthEvents': never } >,>(events: T): T;
|
|
82
82
|
// Singleton-friendly scope alias (#1878 E-5). Use to create a
|
|
83
83
|
// per-tenant / per-plugin wrapper that auto-prefixes event names.
|
|
84
|
-
export declare function scopedEvents(prefix: string):
|
|
84
|
+
export declare function scopedEvents(prefix: string): unknown;
|
|
85
85
|
/**
|
|
86
86
|
* Backward-compatible alias for the legacy `mitt()` export. Behaves
|
|
87
87
|
* identically to {@link createEmitter}.
|