@stacksjs/database 0.58.51 → 0.58.53

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/database",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.53",
5
5
  "description": "The Stacks database integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -2,7 +2,7 @@ import type { Emitter, EventHandlerMap, EventType, Handler } from 'mitt'
2
2
  import mitt from 'mitt'
3
3
 
4
4
  export interface EmitterOnce<Events extends Record<EventType, unknown>> extends Emitter<Events> {
5
- once<Key extends keyof Events>(type: Key, handler: Handler<Events[Key]>): void
5
+ once: <Key extends keyof Events>(type: Key, handler: Handler<Events[Key]>) => void
6
6
  }
7
7
 
8
8
  export default function mittOnce<Events extends Record<EventType, unknown>>(